From 9a574276d57272b86a94b5890f4c386fe0d9e385 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 21 Jul 2023 09:29:11 +0100 Subject: [PATCH] Fix Vstp flag type --- pkg/database/timetable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/database/timetable.go b/pkg/database/timetable.go index 878a8e1..3f0535a 100644 --- a/pkg/database/timetable.go +++ b/pkg/database/timetable.go @@ -16,7 +16,7 @@ type Stop struct { type Service struct { TransactionType string `json:"transactionType,omitempty"` StpIndicator string `json:"stpIndicator,omitempty"` - Vstp string `json:"vstp"` + Vstp bool `json:"vstp"` Operator string `json:"operator,omitempty"` TrainUid string `json:"trainUid,omitempty"` Headcode string `json:"headcode,omitempty"`