Unverified Commit 9e3d0acf authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

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

parent 1db4f4cd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,