mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #12277 from overleaf/jpa-cleanup-batched-update-interface
[web] simplify interface for custom update function in batchedUpdate GitOrigin-RevId: a00a24a012db400d4161de0bcefa2681206ab296
This commit is contained in:
@@ -161,7 +161,7 @@ async function batchedUpdate(
|
||||
}
|
||||
|
||||
if (typeof update === 'function') {
|
||||
await update(collection, nextBatch)
|
||||
await update(nextBatch)
|
||||
} else {
|
||||
await performUpdate(collection, nextBatch, update)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user