This commit is contained in:
2026-01-28 15:10:10 +03:30
parent 8121b27248
commit ab5c05106b
@@ -13,7 +13,6 @@ export class CreateTicketDto {
@IsOptional() @IsOptional()
@IsNotEmpty({ message: TicketMessageEnum.ATTACHMENT_REQUIRED }) @IsNotEmpty({ message: TicketMessageEnum.ATTACHMENT_REQUIRED })
@IsUrl({ protocols: ["http", "https"], require_protocol: true }, { each: true, message: TicketMessageEnum.ATTACHMENT_SHOULD_BE_URL })
@ApiProperty({ description: "attachment url", example: [{ type: '', url: '' }] }) @ApiProperty({ description: "attachment url", example: [{ type: '', url: '' }] })
attachments?: AttachmentType[]; attachments?: AttachmentType[];
} }