fix(datastore): fix item_count column name in update_moritz_website.py

This commit is contained in:
Moritz Graf
2026-10-11 20:39:35 +02:00
parent 1babaab1e2
commit fe21d01a3f
@@ -111,7 +111,7 @@ def generate_dashboard_html(engine: DatastoreEngine) -> str:
# -------------------------------------------------------------------------
today_summary = con.execute(
"""
SELECT total_protein_g, total_carbs_g, total_sugar_g, total_fat_g, total_fiber_g, total_salt_g, total_kcal, total_items
SELECT total_protein_g, total_carbs_g, total_sugar_g, total_fat_g, total_fiber_g, total_salt_g, total_kcal, item_count
FROM v_nutrition_daily
WHERE subject = 'moritz' AND log_date = ?
""",