Merge pull request #6393 from overleaf/ta-backfill-user-properties
Backfill User Properties GitOrigin-RevId: ea2ffeaaf71d5ce41c76a1bfb2f0014006ef0d08
This commit is contained in:
@@ -95,8 +95,14 @@ async function batchedUpdate(
|
||||
return updated
|
||||
}
|
||||
|
||||
function batchedUpdateWithResultHandling(collection, query, update) {
|
||||
batchedUpdate(collection, query, update)
|
||||
function batchedUpdateWithResultHandling(
|
||||
collection,
|
||||
query,
|
||||
update,
|
||||
projection,
|
||||
options
|
||||
) {
|
||||
batchedUpdate(collection, query, update, projection, options)
|
||||
.then(updated => {
|
||||
console.error({ updated })
|
||||
process.exit(0)
|
||||
|
||||
Reference in New Issue
Block a user