overleaf/services/contacts/app/coffee/mongojs.coffee
2018-04-12 16:16:37 +01:00

7 lines
170 B
CoffeeScript

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