Skip to content

Commit

Permalink
drt: don't concat itineraryRemaining
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Aug 21, 2023
1 parent c4fe4ea commit 057bdc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drt/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function generateEntitiesTrip(data) {
if (elem.sactive === true) {
for (const step of elem.mvalue.itineraryRemaining) {
if (step.type === 'ROUTE') {
all = all.concat(polyline.decode(step.routeEncoded, 6));
all = all.push(polyline.decode(step.routeEncoded, 6));
}
}
}
Expand Down

0 comments on commit 057bdc2

Please sign in to comment.