Commit e9eec4c5 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Use EVA ID for IRIS requests

They change less frequently than DS100 codes

Closes #11
parent 4b79ddb0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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},