diff --git a/services/track-changes/app/coffee/UpdatesManager.coffee b/services/track-changes/app/coffee/UpdatesManager.coffee index 80b3a0d58b..4703ff6a1d 100644 --- a/services/track-changes/app/coffee/UpdatesManager.coffee +++ b/services/track-changes/app/coffee/UpdatesManager.coffee @@ -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