diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-12 10:43:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-12 10:43:35 +0100 |
commit | e9eec4c5a94376cf16497d5b5ee71c36166c0abf (patch) | |
tree | 87867d4991f9e6de3bfef3dc62417bf3f8d80caa /lib/DBInfoscreen | |
parent | 4b79ddb0e2e6848b70d9d37fd1a977264414b3c8 (diff) |
Use EVA ID for IRIS requests
They change less frequently than DS100 codes
Closes #11
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 7757159..361413d 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -218,7 +218,7 @@ sub get_results_for { my @station_matches = 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 => $opt{cache_iris_main}, |