mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
hard delete a doc on health check
This commit is contained in:
parent
14073a6544
commit
a756b1a967
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
ObjectId = require("mongojs").ObjectId
|
||||
{db, ObjectId} = require "./mongojs"
|
||||
request = require("request")
|
||||
async = require("async")
|
||||
_ = require("underscore")
|
||||
|
@ -40,4 +40,4 @@ module.exports =
|
|||
async.series jobs, (err)->
|
||||
if err?
|
||||
callback(err)
|
||||
request.del getOpts(), callback
|
||||
db.docs.remove {_id: doc_id, project_id: project_id}, callback
|
||||
|
|
Loading…
Reference in a new issue