bug
This commit is contained in:
@@ -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[];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user