diff --git a/src/modules/auth/services/auth.service.ts b/src/modules/auth/services/auth.service.ts index 6d08593..3f1cbc9 100644 --- a/src/modules/auth/services/auth.service.ts +++ b/src/modules/auth/services/auth.service.ts @@ -52,9 +52,9 @@ export class AuthService { const key = isAdmin ? this.adminOtpKey(slug, normalizedPhone) : this.userOtpKey(slug, normalizedPhone); await this.cacheService.set(key, code, this.OTP_EXPIRATION_TIME); - // await this.smsService.sendotp(normalizedPhone, code); + await this.smsService.sendotp(normalizedPhone, code); - return { code }; + return { code: null }; } async verifyOtp(phone: string, slug: string, code: string) {