diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/HAFAS.pm b/lib/Travel/Status/DE/HAFAS.pm index 9bf8627..58baf8e 100644 --- a/lib/Travel/Status/DE/HAFAS.pm +++ b/lib/Travel/Status/DE/HAFAS.pm @@ -772,10 +772,11 @@ sub similar_stops_p { if ( $service and exists $hafas_instance{$service}{stopfinder} ) { $opt{user_agent} //= $self->{ua}; + $opt{promise} //= $self->{promise}; return Travel::Status::DE::HAFAS::StopFinder->new_p( url => $hafas_instance{$service}{stopfinder}, input => $self->{station}, - ua => $opt{user_agent}, + user_agent => $opt{user_agent}, developer_mode => $self->{developer_mode}, promise => $opt{promise}, ); |