mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Switch to mongodb-legacy
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
This commit is contained in:
+1
-1
@@ -8,4 +8,4 @@ chai.use(require('chai-exclude'))
|
||||
chai.config.truncateThreshold = 0
|
||||
|
||||
// ensure every ObjectId has the id string as a property for correct comparisons
|
||||
require('mongodb').ObjectId.cacheHexString = true
|
||||
require('mongodb-legacy').ObjectId.cacheHexString = true
|
||||
|
||||
Reference in New Issue
Block a user