mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
1f3b0a3713
- Upgrade in package.json - Use new connection syntax - Fix unit tests, issues with object equality
7 lines
176 B
CoffeeScript
7 lines
176 B
CoffeeScript
Settings = require "settings-sharelatex"
|
|
mongojs = require "mongojs"
|
|
db = mongojs(Settings.mongo.url, ["docs", "docOps"])
|
|
module.exports =
|
|
db: db
|
|
ObjectId: mongojs.ObjectId
|
|
|