diff --git a/parse/journey-leg.js b/parse/journey-leg.js index 32bb4b84..95f02324 100644 --- a/parse/journey-leg.js +++ b/parse/journey-leg.js @@ -80,6 +80,7 @@ const createParseJourneyLeg = (profile, opt, data) => { res.mode = 'walking' res.public = true res.distance = pt.gis && pt.gis.dist || null + if (pt.type === 'TRSF') res.transfer = true } else if (pt.type === 'JNY') { // todo: pull `public` value from `profile.products` res.id = pt.jny.jid