ticket bug

This commit is contained in:
2026-01-28 11:11:20 +03:30
parent 90bb299fb7
commit e44a239ef0
3 changed files with 23 additions and 10 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ 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: ["https://example.com/test.png"] })
@ApiProperty({ description: "attachment url", example: [{ type: '', url: '' }] })
attachments?: AttachmentType[];
}