feat: handle notification async using event emitter

This commit is contained in:
Abdalhamid Alhamad
2024-12-29 11:44:51 +03:00
parent 5663a287f9
commit f383f6d14d
13 changed files with 57 additions and 15 deletions

View File

@ -44,7 +44,7 @@ export class AuthService {
return this.otpService.generateAndSendOtp({
userId: user.id,
recipient: user.phoneNumber,
recipient: user.countryCode + user.phoneNumber,
scope: OtpScope.VERIFY_PHONE,
otpType: OtpType.SMS,
});