From ab5c05106b7bbecfa0f455ddf7c51cacc49087d5 Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Wed, 28 Jan 2026 15:10:10 +0330 Subject: [PATCH] bug --- src/modules/ticket/DTO/create-ticket.dto.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/ticket/DTO/create-ticket.dto.ts b/src/modules/ticket/DTO/create-ticket.dto.ts index 51900d7..510e439 100755 --- a/src/modules/ticket/DTO/create-ticket.dto.ts +++ b/src/modules/ticket/DTO/create-ticket.dto.ts @@ -13,7 +13,6 @@ export class CreateTicketDto { @IsOptional() @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: '' }] }) attachments?: AttachmentType[]; }