overleaf/services/web/app/coffee/infrastructure/mongojs.coffee
Shane Kilkelly 9a7c8c5842 Revert "Remove remaining traces of UserStub"
This reverts commit ab6b4c32254a20b940c489b8b5b56237433cc0f6.
2017-10-12 15:08:48 +01:00

6 lines
191 B
CoffeeScript

Settings = require "settings-sharelatex"
mongojs = require "mongojs"
db = mongojs(Settings.mongo.url, ["projects", "users", "userstubs"])
module.exports =
db: db
ObjectId: mongojs.ObjectId