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"` }