mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-25 00:21:40 +00:00
Use new bulk method.
This commit is contained in:
parent
70341e4e80
commit
d7ac57d054
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@ module.exports = RangesManager =
|
|||
{changes, comments} = ranges
|
||||
logger.log {change_id}, "accepting #{ change_ids.length } changes in ranges"
|
||||
rangesTracker = new RangesTracker(changes, comments)
|
||||
for change_id in change_ids
|
||||
rangesTracker.removeChangeId(change_id)
|
||||
rangesTracker.removeChangeIds(change_ids)
|
||||
response = RangesManager._getRanges(rangesTracker)
|
||||
callback null, response
|
||||
|
||||
|
|
Loading…
Reference in a new issue