We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4e5ec1 + 6f192c4 commit 3063e88Copy full SHA for 3063e88
src/api/index.ts
@@ -345,7 +345,7 @@ export class AtelierAPI {
345
if (info && info.result && info.result.content && info.result.content.api > 0) {
346
const data = info.result.content;
347
const apiVersion = data.api;
348
- if (!data.namespaces.includes(this.ns)) {
+ if (this.ns && this.ns.length && !data.namespaces.includes(this.ns)) {
349
throw {
350
code: "WrongNamespace",
351
message: `This server does not have specified namespace '${this.ns}'.\n
0 commit comments