mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
journeys: fix polylines option 🐛
This commit is contained in:
parent
e479619387
commit
6063fa6651
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -149,7 +149,7 @@ const createClient = (profile, request = _request) => {
|
|||
.then((d) => {
|
||||
if (!Array.isArray(d.outConL)) return []
|
||||
|
||||
const polylines = opt.polyline && d.common.polyL || []
|
||||
const polylines = opt.polylines && d.common.polyL || []
|
||||
const parse = profile.parseJourney(profile, d.locations, d.lines, d.remarks, polylines)
|
||||
|
||||
if (!journeys.earlierRef) journeys.earlierRef = d.outCtxScrB
|
||||
|
|
Loading…
Add table
Reference in a new issue