summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-05-12 12:53:48 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-05-12 12:53:48 +0200
commitc34271a75d7f88f8b80f0f410bf6f30dcd79043f (patch)
tree1d2902f0b2a8cebbe8de11d70624c5d3f2da58d0 /index.pl
parentc0f9ce8253c837acbfb5c7e431f569a2dc247ab9 (diff)
update IRIS::Stations function names
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.pl b/index.pl
index e93350c..7cd6c06 100644
--- a/index.pl
+++ b/index.pl
@@ -835,7 +835,7 @@ post '/_geolocation' => sub {
lat => $_->[0][4],
distance => $_->[1],
}
- } Travel::Status::DE::IRIS::Stations::get_stations_by_location($lon, $lat, 10);
+ } Travel::Status::DE::IRIS::Stations::get_station_by_location($lon, $lat, 10);
$self->render(json => {
candidates => [ @candidates ],
});