mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2026-01-30 08:40:46 +00:00
set schedule to optional in match request
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user