chore: add logic for remove completed payment
This commit is contained in:
@@ -38,13 +38,6 @@ export class CreateAnnouncementDto {
|
||||
@ApiProperty({ description: "Is this announcement important?", example: false })
|
||||
isImportant: boolean;
|
||||
|
||||
// @IsOptional()
|
||||
// @IsNotEmpty({ message: AnnouncementMessage.SERVICE_MUST_BE_ID })
|
||||
// @ArrayMinSize(1)
|
||||
// @IsUUID("4", { message: AnnouncementMessage.SERVICE_MUST_BE_UUID, each: true })
|
||||
// @ApiProperty({ type: [String], description: "Service IDs", example: ["d290f1ee-6c54-4b01-90e6-d701748f0851"] })
|
||||
// serviceIds: string[];
|
||||
|
||||
@IsOptional()
|
||||
@IsNotEmpty({ message: AnnouncementMessage.SERVICE_MUST_BE_ID })
|
||||
@IsUUID("4", { message: AnnouncementMessage.SERVICE_MUST_BE_UUID })
|
||||
|
||||
Reference in New Issue
Block a user