diff --git a/src/modules/ad/interface/grpc-controllers/dtos/match.request.dto.ts b/src/modules/ad/interface/grpc-controllers/dtos/match.request.dto.ts index 7833f54..2557f07 100644 --- a/src/modules/ad/interface/grpc-controllers/dtos/match.request.dto.ts +++ b/src/modules/ad/interface/grpc-controllers/dtos/match.request.dto.ts @@ -57,6 +57,7 @@ export class MatchRequestDto { @Type(() => ScheduleItemDto) @IsArray() + @ArrayMinSize(1) @IsOptional() @ValidateNested({ each: true }) schedule?: ScheduleItemDto[];