From 224c5c4a75f98993f349f813846af54d1dba1adc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 8 Nov 2024 14:58:44 +0100 Subject: [PATCH] Continued: - maybe "index" was outdated here? --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index d7d13b8..e732851 100755 --- a/daemon.py +++ b/daemon.py @@ -148,7 +148,7 @@ LIMIT ?", [amount] return domainlist @router.get(config.get("base_url") + "/api/top.json", response_class=JSONResponse) -def api_index(request: Request, mode: str, value: str, amount: int) -> None: +def api_top(request: Request, mode: str, value: str, amount: int) -> None: if mode is None or value is None or amount is None: raise HTTPException(status_code=500, detail="No filter specified") elif amount > config.get("api_limit"): -- 2.39.5