This commit is contained in:
2025-11-24 19:21:18 +03:30
parent 0555dbe586
commit 414f7e179f
5 changed files with 4 additions and 20 deletions
-3
View File
@@ -5,9 +5,6 @@ export class RequestOtpDto {
@IsNotEmpty()
@IsString()
@ApiProperty({ example: '09362532122', description: 'Mobile number' })
// @Matches(/^09\d{9}$/, {
// message: 'Mobile number must be a valid Iranian phone number (e.g., 09123456789)',
// })
@IsMobilePhone('fa-IR')
phone: string;