fix: bug in the sliders and blog module

This commit is contained in:
mahyargdz
2025-04-13 10:30:59 +03:30
parent cac2620fc6
commit 78f481871c
14 changed files with 219 additions and 10 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export class OTPService {
async generateAndSetInCache(identifier: string, cacheKey: OtpCacheKeyType) {
const otp = this.generateOTP();
const key = `${identifier}:${cacheKey}:OTP`;
await this.cacheService.set(key, otp);
await this.cacheService.set(key, otp, 180 * 1000);
return otp;
}
//