Skip to content

Commit

Permalink
Update user.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
harishv7 authored Jan 7, 2025
1 parent 0cc3106 commit 6f97b13
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/studio/src/server/modules/user/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 6f97b13

Please sign in to comment.