mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 19:11:04 +00:00
fix name of temporary parameter to match other methods
This commit is contained in:
parent
adc2866a7d
commit
78f0bdbae3
1 changed files with 2 additions and 2 deletions
|
@ -29,11 +29,11 @@ module.exports = MongoManager =
|
|||
else
|
||||
callback null, null
|
||||
|
||||
insertCompressedUpdates: (project_id, doc_id, updates, permanent, callback = (error) ->) ->
|
||||
insertCompressedUpdates: (project_id, doc_id, updates, temporary, callback = (error) ->) ->
|
||||
jobs = []
|
||||
for update in updates
|
||||
do (update) ->
|
||||
jobs.push (callback) -> MongoManager.insertCompressedUpdate project_id, doc_id, update, permanent, callback
|
||||
jobs.push (callback) -> MongoManager.insertCompressedUpdate project_id, doc_id, update, temporary, callback
|
||||
async.series jobs, callback
|
||||
|
||||
insertCompressedUpdate: (project_id, doc_id, update, temporary, callback = (error) ->) ->
|
||||
|
|
Loading…
Reference in a new issue