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.
1 parent da4b27f commit 85a332aCopy full SHA for 85a332a
src/server.js
@@ -135,9 +135,9 @@ class CoCreateLazyLoader {
135
136
async getApiKey(organization_id, name) {
137
let organization = await this.crud.getOrganization(organization_id, false);
138
- if (!organization.error)
+ if (organization.error)
139
return organization.error
140
- else if (!organization.apis)
+ if (!organization.apis)
141
return { error: 'Missing apis object in organization object' }
142
if (!organization.apis[name])
143
return { error: `Missing ${name} in organization apis object` }
0 commit comments