Skip to content

Commit a634f68

Browse files
authored
Remove accountId check in TunnelService (#51)
1 parent b23d3ee commit a634f68

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/services/tunnel.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,10 @@ export class TunnelService {
174174
}
175175

176176
const specUrl = getSpecUrl(this.tunnelUrl);
177-
const { isValid, accountId } = await validateAndParseOpenApiSpec(specUrl);
177+
const { isValid } = await validateAndParseOpenApiSpec(specUrl);
178178

179-
if (!isValid || !accountId) {
180-
throw new Error(
181-
"OpenAPI specification validation failed or missing account ID.",
182-
);
179+
if (!isValid) {
180+
throw new Error("OpenAPI specification validation failed.");
183181
}
184182

185183
const result = await this.pluginService.register({

0 commit comments

Comments
 (0)