fix : remove required from hint in dto
This commit is contained in:
@@ -32,7 +32,6 @@ export class CreateCategoryAttDTO {
|
||||
|
||||
@Expose()
|
||||
@IsOptional()
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
@ApiProperty({ type: "string", description: "hint of the attribute", example: "نوع پارچه" })
|
||||
hint: string;
|
||||
|
||||
@@ -42,7 +42,6 @@ export class UpdateCategoryAttDTO {
|
||||
|
||||
@Expose()
|
||||
@IsOptional()
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
@ApiProperty({ type: "string", description: "hint of the attribute", example: "نوع پارچه" })
|
||||
hint: string;
|
||||
|
||||
Reference in New Issue
Block a user