fix: remove soft delete from the blog category
This commit is contained in:
@@ -98,8 +98,9 @@ export class CreateServiceDto {
|
||||
@ApiProperty({ description: "The images of the service", example: ["https://example.com/image1.png", "https://example.com/image2.png"] })
|
||||
images: string[];
|
||||
|
||||
@IsOptional()
|
||||
@IsNotEmpty({ message: ServiceMessage.COVER_URL_REQUIRED })
|
||||
@IsUrl({ protocols: ["http", "https"], require_protocol: true }, { message: ServiceMessage.COVER_URL_SHOULD_BE_URL })
|
||||
@ApiProperty({ description: "The cover url of the service", example: "https://example.com/cover.png" })
|
||||
coverUrl: string;
|
||||
coverUrl?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user