This commit is contained in:
parent
cd7f98171b
commit
bfcd15886e
2 changed files with 2 additions and 2 deletions
|
|
@ -138,7 +138,7 @@ func getRealTime(code string, stations []string) ([]IDFMMonitoredStopVisit, erro
|
|||
func declareSchedulesRoutes(router *gin.RouterGroup) {
|
||||
router.GET("/schedules/:type/:code/:station/:way", func(c *gin.Context) {
|
||||
t := convertLineType(string(c.Param("type")))
|
||||
code := searchLine(t, string(c.Param("code")))
|
||||
code := searchLine(t, convertLineCode(string(c.Param("code"))))
|
||||
station := string(c.Param("station"))
|
||||
way := string(c.Param("way"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue