bug in register
This commit is contained in:
@@ -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,
|
||||
};
|
||||
}
|
||||
//****************** */
|
||||
|
||||
Reference in New Issue
Block a user