Switch to mongodb-legacy
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const { callbackify } = require('util')
|
||||
const { ObjectId } = require('mongodb')
|
||||
const { ObjectId } = require('mongodb-legacy')
|
||||
const CollaboratorsGetter = require('../Collaborators/CollaboratorsGetter')
|
||||
const CollaboratorsHandler = require('../Collaborators/CollaboratorsHandler')
|
||||
const ProjectGetter = require('../Project/ProjectGetter')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const AuthorizationManager = require('./AuthorizationManager')
|
||||
const logger = require('@overleaf/logger')
|
||||
const { ObjectId } = require('mongodb')
|
||||
const { ObjectId } = require('mongodb-legacy')
|
||||
const Errors = require('../Errors/Errors')
|
||||
const HttpErrorHandler = require('../Errors/HttpErrorHandler')
|
||||
const AuthenticationController = require('../Authentication/AuthenticationController')
|
||||
|
||||
Reference in New Issue
Block a user