diff --git a/parse/movement.js b/parse/movement.js index e2efdf5c..7999eb52 100644 --- a/parse/movement.js +++ b/parse/movement.js @@ -12,6 +12,7 @@ const createParseMovement = (profile, locations, lines, remarks, polylines = []) const res = { direction: profile.parseStationName(m.dirTxt), + journeyId: m.jid || null, trip: m.jid && +m.jid.split('|')[1] || null, // todo: this seems brittle line: lines[m.prodX] || null, location: m.pos ? {