We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54eb13e commit 9353b21Copy full SHA for 9353b21
1 file changed
src/controller/registry-org.controller/registry-org.controller.js
@@ -20,7 +20,7 @@ const validateUUID = require('uuid').validate
20
*/
21
async function getAllOrgs (req, res, next) {
22
try {
23
- const session = await mongoose.startSession()
+ const session = await mongoose.startSession({ causalConsistency: false })
24
const repo = req.ctx.repositories.getBaseOrgRepository()
25
const conversationRepo = req.ctx.repositories.getConversationRepository()
26
const isSecretariat = await repo.isSecretariatByShortName(req.ctx.org, { session })
0 commit comments