diff --git a/parse/journey-leg.js b/parse/journey-leg.js index 95f02324..e6f2a2e4 100644 --- a/parse/journey-leg.js +++ b/parse/journey-leg.js @@ -81,6 +81,10 @@ const createParseJourneyLeg = (profile, opt, data) => { res.public = true res.distance = pt.gis && pt.gis.dist || null if (pt.type === 'TRSF') res.transfer = true + + if (opt.remarks && Array.isArray(pt.gis.msgL)) { + applyRemarks(res, hints, warnings, pt.gis.msgL) + } } else if (pt.type === 'JNY') { // todo: pull `public` value from `profile.products` res.id = pt.jny.jid