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 efb4b2f commit 7583473Copy full SHA for 7583473
src/index.js
@@ -26,13 +26,13 @@ class CoCreateFileSystem {
26
collection: 'organizations',
27
filter: {
28
query: [
29
- {name: "domains", value: hostname, operator: "$includes"}
+ {name: "domains", value: [hostname], operator: "$in"}
30
]
31
}
32
33
})
34
if (!organization || !organization.document || !organization.document[0])
35
- return res.send('Organization cannot be found using the domain: ' + hostname + ' in platformDB: ' + masterOrg);
+ return res.send('Organization cannot be found using the domain: ' + hostname + ' in platformDB: ' + process.env.organization_id);
36
37
organization_id = organization.document[0]._id
38
0 commit comments