mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
leg.mode: 'walking' -> leg.walking: true 💥
This commit is contained in:
parent
a972dad7b8
commit
0e1fcb0c99
1 changed files with 1 additions and 1 deletions
|
@ -80,8 +80,8 @@ const createParseJourneyLeg = (profile, opt, data) => {
|
|||
}
|
||||
|
||||
if (pt.type === 'WALK' || pt.type === 'TRSF') {
|
||||
res.mode = 'walking'
|
||||
res.public = true
|
||||
res.walking = true
|
||||
res.distance = pt.gis && pt.gis.dist || null
|
||||
if (pt.type === 'TRSF') res.transfer = true
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue