diff --git a/src/endpoints/bettwaage.py b/src/endpoints/bettwaage.py index f6bf313..42f577b 100644 --- a/src/endpoints/bettwaage.py +++ b/src/endpoints/bettwaage.py @@ -30,7 +30,7 @@ async def get_file(): return HTMLResponse("\n".join(fp.readlines())) -@router.get("/file", tags=["file"]) +@router.get("/history") async def get_history(count: int = None) -> []: points = [] with open(file_path, "r", encoding="UTF-8") as fp: