Skip to content

Commit

Permalink
[server] don't always throw exception in deleteUser
Browse files Browse the repository at this point in the history
Fixes #5262
  • Loading branch information
JanKoehnlein authored and roboquat committed Aug 20, 2021
1 parent 0e160f2 commit 58f0b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/server/ee/src/user/user-deletion-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class UserDeletionServiceEE extends UserDeletionService {
}

await super.deleteUser(id);
if (errors) {
if (errors.length > 0) {
throw new Error(errors.join("\n"))
}
}
Expand Down

0 comments on commit 58f0b33

Please sign in to comment.