summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-09-10 16:22:41 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-09-10 16:22:41 +0200
commit77ac1e6a8b304a0af2d46c890c270a322dfdf34d (patch)
treee65281411448c71a9ba82aa50cf102ad88f60d5b /lib/DBInfoscreen/Controller
parent0e9a9d99a1cc7234f9bfb7ad3697fc58cef8cb2e (diff)
do not pass HAFAS flag to geostop; it's not used there anyways
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 3cdf5b8..8cfdbfe 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -1785,9 +1785,8 @@ sub handle_result {
sub stations_by_coordinates {
my $self = shift;
- my $lon = $self->param('lon');
- my $lat = $self->param('lat');
- my $hafas = $self->param('hafas');
+ my $lon = $self->param('lon');
+ my $lat = $self->param('lat');
if ( not $lon or not $lat ) {
$self->render( json => { error => 'Invalid lon/lat received' } );