Skip to content

Commit

Permalink
modified: src/auth/auth.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
overthestream committed Dec 28, 2023
1 parent ebefef5 commit 6e32137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class AuthService {
where: { user: { id: userId } },
order: { createdAt: 'DESC' },
});
if (mail && mail.createdAt.getTime() + 1000 * 60 * 10 > Date.now())
if (mail && mail.createdAt.getTime() + 1000 * 60 > Date.now())
throw new NotAcceptableException('잠시 후에 다시 시도해주세요');
if (mail) await this.authMailRepository.delete(mail);

Expand Down

0 comments on commit 6e32137

Please sign in to comment.