mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Merge pull request #11710 from overleaf/tm-invite-emails-lowercase-await-fix
Adds missing await on async db update GitOrigin-RevId: 149cb4dad1b29d4ce409039087ab9c9dbbaae635
This commit is contained in:
@@ -18,7 +18,7 @@ async function processBatch(_, subscriptions) {
|
||||
if (anyInviteEmailHasUppercaseChars(subscription)) {
|
||||
console.log('fixing emails in group invites for', subscription._id)
|
||||
if (!DRY_RUN) {
|
||||
db.subscriptions.updateOne({ _id: subscription._id }, [
|
||||
await db.subscriptions.updateOne({ _id: subscription._id }, [
|
||||
{
|
||||
$set: {
|
||||
teamInvites: {
|
||||
|
||||
Reference in New Issue
Block a user