diff --git a/src/vstp/parser.go b/src/vstp/parser.go index 04bd89e..20e8c38 100644 --- a/src/vstp/parser.go +++ b/src/vstp/parser.go @@ -49,6 +49,9 @@ func formatData(dataInput *upstreamApi.Schedule) database.Service { planSpeed = parseSpeed(dataInput.ScheduleSegment[0].CIFSpeed) stops = parseStops(dataInput.ScheduleSegment[0].ScheduleLocation) } + if operator == "" { + operator = "UK" + } service := database.Service{ TransactionType: dataInput.TransactionType, StpIndicator: dataInput.CIFSTPIndicator,