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, }; } //****************** */