Remove development comments
This commit is contained in:
		
							parent
							
								
									feb7ee0fdf
								
							
						
					
					
						commit
						d9c249a47a
					
				| @ -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 | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user