1
0
Fork 0
mirror of synced 2024-10-01 09:38:55 +13:00
This commit is contained in:
Peter Clement 2022-07-27 10:25:06 +01:00
parent e468f83902
commit 0f19222393

View file

@ -396,7 +396,7 @@ export const destroy = async (id: string, currentUser: any) => {
await apps.syncUserInApps(dbUser._id) await apps.syncUserInApps(dbUser._id)
} }
const bulkDeleteProcessing = async (dbUser: any) => { const bulkDeleteProcessing = async (dbUser: User) => {
await deprovisioning.removeUserFromInfoDB(dbUser) await deprovisioning.removeUserFromInfoDB(dbUser)
await eventHelpers.handleDeleteEvents(dbUser) await eventHelpers.handleDeleteEvents(dbUser)
await cache.user.invalidateUser(dbUser._id) await cache.user.invalidateUser(dbUser._id)