Loading index.pl +7 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ sub get_results_for { }; $cache->freeze( $cache_str, $data ); } else { elsif ( $backend eq 'ris' ) { my $status = Travel::Status::DE::HAFAS->new( station => $station, excluded_mots => [qw[bus ferry ondemand tram u]], Loading @@ -81,6 +81,12 @@ sub get_results_for { }; $cache->freeze( $cache_str, $data ); } else { $data = { results => [], errstr => "Backend '$backend' not supported", }; } } return $data; Loading Loading
index.pl +7 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ sub get_results_for { }; $cache->freeze( $cache_str, $data ); } else { elsif ( $backend eq 'ris' ) { my $status = Travel::Status::DE::HAFAS->new( station => $station, excluded_mots => [qw[bus ferry ondemand tram u]], Loading @@ -81,6 +81,12 @@ sub get_results_for { }; $cache->freeze( $cache_str, $data ); } else { $data = { results => [], errstr => "Backend '$backend' not supported", }; } } return $data; Loading