From: Roland Häder Date: Fri, 8 Nov 2024 13:58:44 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=224c5c4a75f98993f349f813846af54d1dba1adc;p=fba.git Continued: - maybe "index" was outdated here? --- 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"):