fix(datastore): fix item_count column name in update_moritz_website.py
This commit is contained in:
@@ -111,7 +111,7 @@ def generate_dashboard_html(engine: DatastoreEngine) -> str:
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
today_summary = con.execute(
|
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
|
FROM v_nutrition_daily
|
||||||
WHERE subject = 'moritz' AND log_date = ?
|
WHERE subject = 'moritz' AND log_date = ?
|
||||||
""",
|
""",
|
||||||
|
|||||||
Reference in New Issue
Block a user