mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 00:55:25 -05: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
|
else
|
||||||
callback null, null
|
callback null, null
|
||||||
|
|
||||||
insertCompressedUpdates: (project_id, doc_id, updates, permanent, callback = (error) ->) ->
|
insertCompressedUpdates: (project_id, doc_id, updates, temporary, callback = (error) ->) ->
|
||||||
jobs = []
|
jobs = []
|
||||||
for update in updates
|
for update in updates
|
||||||
do (update) ->
|
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
|
async.series jobs, callback
|
||||||
|
|
||||||
insertCompressedUpdate: (project_id, doc_id, update, temporary, callback = (error) ->) ->
|
insertCompressedUpdate: (project_id, doc_id, update, temporary, callback = (error) ->) ->
|
||||||
|
|
Loading…
Reference in a new issue