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