diff --git a/src/modules/category/DTO/updateCategoryAtt.dto.ts b/src/modules/category/DTO/updateCategoryAtt.dto.ts index 0f2dff9..0db6124 100644 --- a/src/modules/category/DTO/updateCategoryAtt.dto.ts +++ b/src/modules/category/DTO/updateCategoryAtt.dto.ts @@ -1,5 +1,5 @@ import { Expose, Type } from "class-transformer"; -import { ArrayMinSize, IsArray, IsBoolean, IsEnum, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from "class-validator"; +import { IsArray, IsBoolean, IsEnum, IsInt, IsNotEmpty, IsOptional, IsString, ValidateNested } from "class-validator"; import { ApiProperty } from "../../../common/decorator/swggerDocs"; import { IsValidId } from "../../../common/decorator/validation.decorator"; @@ -56,7 +56,6 @@ export class UpdateCategoryAttDTO { @Expose() @IsNotEmpty() @IsArray() - @ArrayMinSize(1) @ValidateNested({ each: true }) @Type(() => AttributeValue) @ApiProperty({