Skip to content

Commit

Permalink
Remove not needed check
Browse files Browse the repository at this point in the history
Co-authored-by: Sergej Hoffmann <[email protected]>
  • Loading branch information
sszafGCA and SevenWaysDP authored Oct 11, 2023
1 parent c3879b5 commit 2c04d67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/server/src/modules/user/service/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ export class UserService {
}

async deleteUser(userId: EntityId): Promise<number> {
if (!userId) {
throw new InternalServerErrorException('User id is missing');
}

Check failure on line 112 in apps/server/src/modules/user/service/user.service.ts

View workflow job for this annotation

GitHub Actions / nest_lint

Delete `⏎`
const deletedUserNumber: Promise<number> = this.userRepo.deleteUser(userId);

Expand Down

0 comments on commit 2c04d67

Please sign in to comment.