user post processing

This commit is contained in:
Peter Clement 2022-07-26 20:20:12 +01:00
parent 548e8d518c
commit 196130af08
1 changed files with 3 additions and 2 deletions

View File

@ -301,8 +301,9 @@ export const bulkCreate = async (
// Post processing of bulk added users, i.e events and cache operations // Post processing of bulk added users, i.e events and cache operations
for (const user of usersToBulkSave) { for (const user of usersToBulkSave) {
//await eventHelpers.handleSaveEvents(user, null) delete user.password
//await apps.syncUserInApps(user._id) await eventHelpers.handleSaveEvents(user, null)
await apps.syncUserInApps(user._id)
} }
return response return response