We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b23d3ee commit a634f68Copy full SHA for a634f68
src/services/tunnel.ts
@@ -174,12 +174,10 @@ export class TunnelService {
174
}
175
176
const specUrl = getSpecUrl(this.tunnelUrl);
177
- const { isValid, accountId } = await validateAndParseOpenApiSpec(specUrl);
+ const { isValid } = await validateAndParseOpenApiSpec(specUrl);
178
179
- if (!isValid || !accountId) {
180
- throw new Error(
181
- "OpenAPI specification validation failed or missing account ID.",
182
- );
+ if (!isValid) {
+ throw new Error("OpenAPI specification validation failed.");
183
184
185
const result = await this.pluginService.register({
0 commit comments