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 19777fd..7833f54 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,9 +57,9 @@ export class MatchRequestDto { @Type(() => ScheduleItemDto) @IsArray() - @ArrayMinSize(1) + @IsOptional() @ValidateNested({ each: true }) - schedule: ScheduleItemDto[]; + schedule?: ScheduleItemDto[]; @IsOptional() @IsInt()