diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-07 11:18:04 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-04-07 11:18:04 +0200 |
commit | 875ec1c3e551b9d31c64fd67a83738dbfa90b86d (patch) | |
tree | 470a7dfb321788daf3c3405b86e0edad2d6ebf84 /lib/Travelynx | |
parent | c9e5bfae620c3df002c286b1463a2838395797fd (diff) |
Request polylines for HAFAS journeys as well; only store sensible ones2.6.5
Decreases severity of #99
Fixes #108
Diffstat (limited to 'lib/Travelynx')
-rw-r--r-- | lib/Travelynx/Helper/HAFAS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm index 2bab8dc..7671d78 100644 --- a/lib/Travelynx/Helper/HAFAS.pm +++ b/lib/Travelynx/Helper/HAFAS.pm @@ -172,7 +172,7 @@ sub get_journey_p { journey => { id => $opt{trip_id}, }, - with_polyline => 0, + with_polyline => $opt{with_polyline}, cache => $self->{realtime_cache}, promise => 'Mojo::Promise', user_agent => $self->{user_agent}->request_timeout(10), |