set schedule to optional in match request
This commit is contained in:
parent
2ce2a46c95
commit
4fd2950027
|
@ -57,9 +57,9 @@ export class MatchRequestDto {
|
||||||
|
|
||||||
@Type(() => ScheduleItemDto)
|
@Type(() => ScheduleItemDto)
|
||||||
@IsArray()
|
@IsArray()
|
||||||
@ArrayMinSize(1)
|
@IsOptional()
|
||||||
@ValidateNested({ each: true })
|
@ValidateNested({ each: true })
|
||||||
schedule: ScheduleItemDto[];
|
schedule?: ScheduleItemDto[];
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsInt()
|
@IsInt()
|
||||||
|
|
Loading…
Reference in New Issue