mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix callback logic in compressAndSaveRawUpdates
This commit is contained in:
parent
8226bf3be4
commit
b6dae59655
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ module.exports = UpdatesManager =
|
|||
MongoManager.insertCompressedUpdates project_id, doc_id, [lastCompressedUpdate], temporary, () ->
|
||||
return callback error
|
||||
else
|
||||
return callback error
|
||||
callback error
|
||||
return
|
||||
|
||||
compressedUpdates = UpdateCompressor.compressRawUpdates lastCompressedUpdate, rawUpdates
|
||||
|
||||
|
|
Loading…
Reference in a new issue