Refactor convertLineCode

This commit is contained in:
nemunaire 2024-07-27 10:37:15 +02:00
commit e648d083f8
2 changed files with 4 additions and 4 deletions

View file

@ -82,10 +82,6 @@ type PGSchedule struct {
Message string `json:"message"`
}
func convertLineCode(code string) string {
return strings.TrimSuffix(code, ":")
}
func getRealTime(code string, stations []string) ([]IDFMMonitoredStopVisit, error) {
rurl, err := url.JoinPath(IDFM_BASEURL, "stop-monitoring")
if err != nil {