Skip to content

Commit

Permalink
fix: remove wrong object
Browse files Browse the repository at this point in the history
  • Loading branch information
Daaaiii committed Feb 20, 2024
1 parent 3c4b205 commit 99fb626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/account/account.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ export class AccountService {
// ! verificar responsabilidade única
const hashedEmail = await this.hashData(email);

const account = await this.accountRepository.getCredentialIdByEmail({
const account = await this.accountRepository.getCredentialIdByEmail(
hashedEmail,
});
);

if (!account) {
throw new EmailNotFoundException();
Expand Down

0 comments on commit 99fb626

Please sign in to comment.