From 0f19222393f80e88f56944ce06c1c228aa724e01 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Wed, 27 Jul 2022 10:25:06 +0100 Subject: [PATCH] fix type --- packages/worker/src/sdk/users/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/worker/src/sdk/users/users.ts b/packages/worker/src/sdk/users/users.ts index 7e8d2cc0cd..48e4f0db02 100644 --- a/packages/worker/src/sdk/users/users.ts +++ b/packages/worker/src/sdk/users/users.ts @@ -396,7 +396,7 @@ export const destroy = async (id: string, currentUser: any) => { await apps.syncUserInApps(dbUser._id) } -const bulkDeleteProcessing = async (dbUser: any) => { +const bulkDeleteProcessing = async (dbUser: User) => { await deprovisioning.removeUserFromInfoDB(dbUser) await eventHelpers.handleDeleteEvents(dbUser) await cache.user.invalidateUser(dbUser._id)