diff --git a/apps/studio/src/server/modules/user/user.service.ts b/apps/studio/src/server/modules/user/user.service.ts index 5b3dbd5b4..c752b8684 100644 --- a/apps/studio/src/server/modules/user/user.service.ts +++ b/apps/studio/src/server/modules/user/user.service.ts @@ -11,8 +11,5 @@ export const isUserDeleted = async (email: string) => { console.log(`isUserDeleted: ${JSON.stringify(user)}`) - if (user?.deletedAt) { - return true - } - return false + return user?.deletedAt }