mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
9 lines
307 B
JavaScript
9 lines
307 B
JavaScript
// TODO: This file was created by bulk-decaffeinate.
|
|
// Sanity-check the conversion and remove this comment.
|
|
const Settings = require('settings-sharelatex')
|
|
const mongojs = require('mongojs')
|
|
const db = mongojs(Settings.mongo.url, ['docs', 'docOps'])
|
|
module.exports = {
|
|
db,
|
|
ObjectId: mongojs.ObjectId
|
|
}
|