bug in register

This commit is contained in:
2026-04-05 11:14:38 +03:30
parent 0bd72fac0f
commit f52993f58a
+3 -2
View File
@@ -44,10 +44,11 @@ export class AuthService {
const otpCode = await this.otpService.generateAndSetInCache(phone, "REGISTER"); const otpCode = await this.otpService.generateAndSetInCache(phone, "REGISTER");
// //
await this.notificationQueue.addOtpNotification(phone, { userPhone: phone, otp: otpCode }); await this.smsService.sendSmsVerifyCode(phone, otpCode);
// await this.notificationQueue.addOtpNotification(phone, { userPhone: phone, otp: otpCode });
return { return {
message: AuthMessage.OTP_SENT, message: AuthMessage.OTP_SENT + otpCode,
}; };
} }
//****************** */ //****************** */