fix(types,lint): resolve all TypeScript type check and eslint errors across backend and sms suite
This commit is contained in:
1 parent
d8c6aa8d8e
commit
8de1351349
19 files changed
+11299
-8849
No files matched your search
@@ -49,7 +49,8 @@ export class AuthService {
|
||||
// Remove OTP from Redis if SMS failed to avoid phantom codes
|
||||
await this.redisService.del(`otp:${phoneNumber}`);
|
||||
throw new BadRequestException({
|
||||
message: 'ارسال پیامک با خطا مواجه شد. لطفاً چند لحظه دیگر دوباره تلاش کنید.',
|
||||
message:
|
||||
'ارسال پیامک با خطا مواجه شد. لطفاً چند لحظه دیگر دوباره تلاش کنید.',
|
||||
error: 'SMS_DELIVERY_FAILED',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user