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