mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
parent
fa0570e3d8
commit
4da8689ace
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ const createParseJourneyLeg = (profile, stations, lines, remarks, polylines) =>
|
|||
if (pt.type === 'WALK') {
|
||||
res.mode = 'walking'
|
||||
res.public = true
|
||||
res.distance = pt.gis && pt.gis.dist || null
|
||||
} else if (pt.type === 'JNY') {
|
||||
// todo: pull `public` value from `profile.products`
|
||||
res.id = pt.jny.jid
|
||||
|
|
Loading…
Add table
Reference in a new issue