mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
update bson api in migration 3
This commit is contained in:
parent
34158a00dd
commit
d11b11222b
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ db = mongojs(Settings.mongo.url, ['docs','docHistory', 'docHistoryStats'])
|
|||
_ = require("underscore")
|
||||
async = require("async")
|
||||
exec = require("child_process").exec
|
||||
BSON = db.bson.BSON
|
||||
bson = require('bson')
|
||||
BSON = new bson()
|
||||
|
||||
logger = {
|
||||
log: ->
|
||||
|
|
Loading…
Reference in a new issue