From d9c249a47a793f8801ce10b857e02fbbef5c4e00 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 8 Apr 2024 19:33:08 +0100 Subject: [PATCH] Remove development comments --- cif/convert.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/cif/convert.go b/cif/convert.go index aa798e0..9261d20 100644 --- a/cif/convert.go +++ b/cif/convert.go @@ -23,14 +23,11 @@ func ConvertServiceType(input *upstreamApi.JsonScheduleV1, vstp bool) (*database ScheduleEndDate: ParseCifDate(&input.ScheduleEndDate, "end"), FirstClass: hasFirstClass(&input.ScheduleSegment.CifTrainClass), Catering: hasCatering(&input.ScheduleSegment.CifCateringCode), - // Remove CateringType from type definitions in Go and TS - Sleeper: hasSleeper(&input.ScheduleSegment.CifSleepers), - DaysRun: parseDaysRun(&input.ScheduleDaysRun), - Stops: parseStops(&input.ScheduleSegment.ScheduleLocation), + Sleeper: hasSleeper(&input.ScheduleSegment.CifSleepers), + DaysRun: parseDaysRun(&input.ScheduleDaysRun), + Stops: parseStops(&input.ScheduleSegment.ScheduleLocation), } - // New struct tags are not yet parsed. Ensure all struct tags are present. - return &output, nil }