From 6063fa6651aa47c661f4267cc2514d8d68b13835 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Thu, 24 May 2018 21:54:25 +0200 Subject: [PATCH] journeys: fix polylines option :bug: --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index eeecdd0e..69f831ea 100644 --- a/index.js +++ b/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