This commit is contained in:
nemunaire 2022-10-23 16:45:11 +02:00
commit 5a5f81c0fb
3 changed files with 32 additions and 40 deletions

View file

@ -164,7 +164,7 @@ func declareSchedulesRoutes(router *gin.RouterGroup) {
pgs := []PGSchedule{}
for _, vehicule := range schedules.NextDepartures.Data {
if (way == "A" && vehicule.Sens == "-1") || (way == "R" && vehicule.Sens == "1") {
if (way == "A" && vehicule.Sens == "1") || (way == "R" && vehicule.Sens == "-1") {
continue
}