From 3b209b9557e08e371ee5fa120eaac6f688981858 Mon Sep 17 00:00:00 2001 From: FuelBoard Contributor Date: Tue, 11 Aug 2026 19:22:26 +0100 Subject: [PATCH] Raise stations limit cap 100->1000 so miles-radius fetches (limit=500) don't 422 --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index da473e4..1e7b8fe 100644 --- a/app/main.py +++ b/app/main.py @@ -257,7 +257,7 @@ def stations( lat: Optional[float] = Query(None, description="User latitude"), lng: Optional[float] = Query(None, description="User longitude"), radius: float = Query(20.0, description="Search radius in km"), - limit: int = Query(10, ge=1, le=100), + limit: int = Query(10, ge=1, le=1000), ): if _state["stations"] is None: raise HTTPException(status_code=502, detail="No data cached yet and upstream fetch failed")