This commit is contained in:
2026-02-15 09:49:06 +03:30
parent 6fd68acc81
commit c8ff614aaf
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -1,6 +1,5 @@
import { IsNotEmpty, IsString, IsMobilePhone } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { Transform } from 'class-transformer';
export class RequestOtpDto {
@IsNotEmpty()
@@ -11,7 +10,6 @@ export class RequestOtpDto {
@IsNotEmpty()
@IsString()
@Transform(({ value }) => value?.toLowerCase())
@ApiProperty({ example: 'zhivan', description: 'restaurant slug' })
slug: string;
}
-2
View File
@@ -1,6 +1,5 @@
import { IsNotEmpty, IsString, Length, IsMobilePhone } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { Transform } from 'class-transformer';
export class VerifyOtpDto {
@IsNotEmpty()
@@ -17,7 +16,6 @@ export class VerifyOtpDto {
@IsNotEmpty()
@IsString()
@Transform(({ value }) => value?.toLowerCase())
@ApiProperty({ example: 'zhivan', description: 'restaurant slug' })
slug: string;
}