From 37af9f3943ade1bee5cb290bbfcbfb8f662a57d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Doma=C5=84ski?= Date: Wed, 1 Apr 2026 23:47:23 +0200 Subject: [PATCH] [fiber] fix --- fooder/domain/diary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fooder/domain/diary.py b/fooder/domain/diary.py index 4b81c72..900cf72 100644 --- a/fooder/domain/diary.py +++ b/fooder/domain/diary.py @@ -58,7 +58,7 @@ class Diary(Base, CommonMixin): :rtype: float """ - return sum(meal.fat for meal in self.meals) + return sum(meal.fiber for meal in self.meals) @classmethod def query(cls, user_id: int) -> Select: