Error in JSON tags for 'ScheduleDaysRun' should be "schedule_days_runs" - node runs, not run

This commit is contained in:
Fred Boniface 2024-04-16 19:43:37 +01:00
parent a432f1e4bb
commit b8aa88546f
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ type JsonScheduleV1 struct {
ApplicableTimetable string `json:"applicable_timetable"`
AtocCode string `json:"atoc_code"`
NewScheduleSegment ScheduleNewScheduleSegment `json:"new_schedule_segment"`
ScheduleDaysRun string `json:"schedule_days_run"`
ScheduleDaysRun string `json:"schedule_days_runs"`
ScheduleStartDate string `json:"schedule_start_date"`
ScheduleEndDate string `json:"schedule_end_date"`
ScheduleSegment CifScheduleSegment `json:"schedule_segment"`