Преглед изворни кода

Merge pull request #20083 from overleaf/tm-fix-mongodb-legacy-collaborators-getter

Update CollaboratorsInviteGetter to use mongodb-legacy instead of mongodb

GitOrigin-RevId: 06eb6f89725c06f759e19f73c4a4d1ade5703b4f
Thomas пре 2 година
родитељ
комит
22fb9973fa

+ 1 - 1
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 =