summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-11 11:34:39 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-11 11:34:39 +0200
commitfffe8dcdfa0f5110b0b279e6d9989fbcea853cad (patch)
treebc986a0117e585a6ef8a703e7ca517033cb85c86 /lib
parent4575beb6ff648954dbd479fced38b856b7e73c34 (diff)
Switch to transport.rest v5 for polyline requests
Diffstat (limited to 'lib')
-rw-r--r--lib/Travelynx/Helper/HAFAS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm
index b763960..fbca740 100644
--- a/lib/Travelynx/Helper/HAFAS.pm
+++ b/lib/Travelynx/Helper/HAFAS.pm
@@ -28,7 +28,7 @@ sub get_polyline_p {
my $line = $train->line // 0;
my $url
- = "https://2.db.transport.rest/trips/${trip_id}?lineName=${line}&polyline=true";
+ = "https://v5.db.transport.rest/trips/${trip_id}?lineName=${line}&polyline=true";
my $cache = $self->{main_cache};
my $promise = Mojo::Promise->new;
my $version = $self->{version};