From 30e9d199cd2ca286f0a27967fcf631d72a06ec54 Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Thu, 1 Jan 2026 13:00:55 +0330 Subject: [PATCH] send otp --- src/modules/auth/services/auth.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/auth/services/auth.service.ts b/src/modules/auth/services/auth.service.ts index 75e0cc1..899786a 100644 --- a/src/modules/auth/services/auth.service.ts +++ b/src/modules/auth/services/auth.service.ts @@ -44,9 +44,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) {