From f52993f58a89ac24ead259821923005d5ac18555 Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Sun, 5 Apr 2026 11:14:38 +0330 Subject: [PATCH] bug in register --- src/modules/auth/providers/auth.service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/auth/providers/auth.service.ts b/src/modules/auth/providers/auth.service.ts index 079b551..2407fb7 100755 --- a/src/modules/auth/providers/auth.service.ts +++ b/src/modules/auth/providers/auth.service.ts @@ -44,10 +44,11 @@ export class AuthService { 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 { - message: AuthMessage.OTP_SENT, + message: AuthMessage.OTP_SENT + otpCode, }; } //****************** */