Commit dad32e7a authored by Shane Kilkelly's avatar Shane Kilkelly
Browse files

update bson api in migration 3

parent ce859978
......@@ -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: ->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment