Skip to content

Commit

Permalink
Add BUS type on NMBS
Browse files Browse the repository at this point in the history
  • Loading branch information
meyskens committed Jul 13, 2024
1 parent 4b19de5 commit ed8deaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apiserver/pkg/ris/irail/liveboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ func LiveboardToRISDepartures(station, lang string) ([]ris.Departure, error) {
if strings.HasPrefix(transportName, "S") || strings.HasPrefix(transportName, "L") {
transportType = "REGIONAL_TRAIN"
}
if strings.HasPrefix(transportName, "BUS") {
transportType = "BUS"
}

stops := []ris.StopPlace{}
vias := []ris.Via{}
Expand Down

0 comments on commit ed8deaf

Please sign in to comment.