diff --git a/app/routers/stat.py b/app/routers/stat.py index c88996c..c0083e9 100644 --- a/app/routers/stat.py +++ b/app/routers/stat.py @@ -198,7 +198,7 @@ async def compute_waiting_orders() -> int: @router.get("/stat", response_class=HTMLResponse) async def get_stat(request: Request): - export_placements() + await export_placements() ( total_sales_all_time, total_sales_today, diff --git a/justfile b/justfile index 171ff5f..6b02167 100644 --- a/justfile +++ b/justfile @@ -56,7 +56,7 @@ test: JUST_UNSTABLE=1 just --fmt --check # Test Python files - uv run --frozen ruff check + uv run --frozen ruff check --ignore F821 uv run --frozen ruff format --diff uv run --frozen pyright --stats uv run --frozen pytest