From 171bd3eafd83b9f240c0066e1ada75241321fe19 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Thu, 27 Jul 2023 20:20:11 +0100 Subject: [PATCH] Fix DeleteQuery --- pkg/database/timetable.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/database/timetable.go b/pkg/database/timetable.go index 964c998..e977921 100644 --- a/pkg/database/timetable.go +++ b/pkg/database/timetable.go @@ -29,7 +29,7 @@ type Service struct { } type DeleteQuery struct { - TrainUid string `json:"trainUid"` - ScheduleStartDate string `json:"scheduleStartDate"` - StpIndicator string `json:"stpIndicator"` + TrainUid string `json:"trainUid"` + ScheduleStartDate time.Time `json:"scheduleStartDate"` + StpIndicator string `json:"stpIndicator"` }