IRIS: Use EVA ID rather than DS100 code for backend requests

This commit is contained in:
Birte Kristina Friesel 2024-06-23 16:27:54 +02:00
parent 1db4f4cd43
commit 9e3d0acf93
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -42,7 +42,7 @@ sub get_departures {
= Travel::Status::DE::IRIS::Stations::get_station($station);
if ( @station_matches == 1 ) {
$station = $station_matches[0][0];
$station = $station_matches[0][2];
my $status = Travel::Status::DE::IRIS->new(
station => $station,
main_cache => $self->{main_cache},
@ -109,7 +109,7 @@ sub get_departures_p {
= Travel::Status::DE::IRIS::Stations::get_station($station);
if ( @station_matches == 1 ) {
$station = $station_matches[0][0];
$station = $station_matches[0][2];
my $promise = Mojo::Promise->new;
Travel::Status::DE::IRIS->new_p(
station => $station,