mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 00:31:39 +00:00
bug fix for clear archive in progress flag
This commit is contained in:
parent
692e8c657c
commit
e683b0275a
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ module.exports = MongoManager =
|
|||
db.docHistory.update { _id: update._id }, { $set : { inS3 : false } }, callback
|
||||
|
||||
clearDocHistoryAsArchiveInProgress: (doc_id, update, callback) ->
|
||||
db.docHistory.update { _id: update._id }, { $set : { inS3 : false } }, callback
|
||||
db.docHistory.update { _id: update._id }, { $unset : { inS3 : true } }, callback
|
||||
|
||||
markDocHistoryAsArchived: (doc_id, update, callback)->
|
||||
db.docHistory.update { _id: update._id }, { $set : { inS3 : true } }, (error)->
|
||||
|
|
Loading…
Reference in a new issue