fix(teams): tweak FAQ and fix sync test

This commit is contained in:
SabreCat
2022-08-22 14:43:21 -05:00
parent cccd8c3b1b
commit 35d963a397
3 changed files with 13 additions and 211 deletions

View File

@@ -1485,6 +1485,7 @@ schema.methods.syncTask = async function groupSyncTask (taskToSync, users, assig
group: group._id,
});
}
toSave.push(user.save());
}
toSave.push(taskToSync.save());
return Promise.all(toSave);