Skip to content

Commit 9353b21

Browse files
committed
Testing casualConsistency
1 parent 54eb13e commit 9353b21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/controller/registry-org.controller/registry-org.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const validateUUID = require('uuid').validate
2020
*/
2121
async function getAllOrgs (req, res, next) {
2222
try {
23-
const session = await mongoose.startSession()
23+
const session = await mongoose.startSession({ causalConsistency: false })
2424
const repo = req.ctx.repositories.getBaseOrgRepository()
2525
const conversationRepo = req.ctx.repositories.getConversationRepository()
2626
const isSecretariat = await repo.isSecretariatByShortName(req.ctx.org, { session })

0 commit comments

Comments
 (0)