HAFAS: correctly pass lookahead on to backend library
Closes #126 Note that this is more of a hotfix -- the underlying bug is in Travel::Status::DE::HAFAS
This commit is contained in:
parent
4dbe0ebe3e
commit
9f0d72b9d1
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ sub get_departures_p {
|
|||
return Travel::Status::DE::HAFAS->new_p(
|
||||
station => $opt{eva},
|
||||
datetime => $when,
|
||||
duration => $opt{lookahead},
|
||||
lookahead => $opt{lookahead} + $opt{lookbehind},
|
||||
results => 300,
|
||||
cache => $self->{realtime_cache},
|
||||
promise => 'Mojo::Promise',
|
||||
|
|
Loading…
Reference in a new issue