mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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
|
|
|