Switch to transport.rest v5 for polyline requests
This commit is contained in:
parent
4575beb6ff
commit
fffe8dcdfa
1 changed files with 1 additions and 1 deletions
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue