Refactor
This commit is contained in:
parent
da0187b74d
commit
5a5f81c0fb
3 changed files with 32 additions and 40 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue