From c8ff614aaf02da968fb297bdf9b48a1d0eb8793f Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Sun, 15 Feb 2026 09:49:06 +0330 Subject: [PATCH] auth --- src/modules/auth/dto/request-otp.dto.ts | 2 -- src/modules/auth/dto/verify-otp.dto.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/modules/auth/dto/request-otp.dto.ts b/src/modules/auth/dto/request-otp.dto.ts index 4e40f10..83984af 100644 --- a/src/modules/auth/dto/request-otp.dto.ts +++ b/src/modules/auth/dto/request-otp.dto.ts @@ -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; } diff --git a/src/modules/auth/dto/verify-otp.dto.ts b/src/modules/auth/dto/verify-otp.dto.ts index 9836479..ec1c6f1 100644 --- a/src/modules/auth/dto/verify-otp.dto.ts +++ b/src/modules/auth/dto/verify-otp.dto.ts @@ -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; }