This commit is contained in:
parent
2123f55eab
commit
37af9f3943
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class Diary(Base, CommonMixin):
|
||||||
|
|
||||||
:rtype: float
|
:rtype: float
|
||||||
"""
|
"""
|
||||||
return sum(meal.fat for meal in self.meals)
|
return sum(meal.fiber for meal in self.meals)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def query(cls, user_id: int) -> Select:
|
def query(cls, user_id: int) -> Select:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue