From 222163bb43c67fe04a5792faaa6394df98d39598 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 22 Aug 2024 13:34:04 +0200 Subject: [PATCH] Merge pull request #20083 from overleaf/tm-fix-mongodb-legacy-collaborators-getter Update CollaboratorsInviteGetter to use mongodb-legacy instead of mongodb GitOrigin-RevId: 06eb6f89725c06f759e19f73c4a4d1ade5703b4f --- .../unit/src/Collaborators/CollaboratorsInviteGetterTests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/unit/src/Collaborators/CollaboratorsInviteGetterTests.js b/services/web/test/unit/src/Collaborators/CollaboratorsInviteGetterTests.js index ee2255faa7..f031868c69 100644 --- a/services/web/test/unit/src/Collaborators/CollaboratorsInviteGetterTests.js +++ b/services/web/test/unit/src/Collaborators/CollaboratorsInviteGetterTests.js @@ -1,7 +1,7 @@ const sinon = require('sinon') const { expect } = require('chai') const SandboxedModule = require('sandboxed-module') -const { ObjectId } = require('mongodb') +const { ObjectId } = require('mongodb-legacy') const Crypto = require('crypto') const MODULE_PATH =