summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/nvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nvm b/bin/nvm
index 8014e88..610fe3d 100755
--- a/bin/nvm
+++ b/bin/nvm
@@ -333,7 +333,7 @@ async def ajax_geolocation(request):
request_data = await request.json()
lat = request_data["lat"]
lon = request_data["lon"]
- request_url = f"{db_rest_api}/stops/nearby?latitude={lat}&longitude={lon}"
+ request_url = f"{db_rest_api}/stops/nearby?latitude={lat}&longitude={lon}&results=10"
logging.debug(f"Requesting stops near {lat}/{lon} from {request_url}")
async with aiohttp.ClientSession() as session:
async with session.get(request_url) as response: