Skip to content

Commit

Permalink
Update accounts.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam authored Jan 17, 2024
1 parent 0215c08 commit d0c72cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/src/accounts/accounts.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ export class AccountsService {

sanitizeAccount(account: Account) {
delete account.password;
delete account.secret;
return account;
}
}

0 comments on commit d0c72cb

Please sign in to comment.