mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-29 19:00:00 +00:00
Remove part of day from remaining code
This commit is contained in:
@@ -142,7 +142,6 @@ class FoodLog(db.Model):
|
||||
food_item_id: int,
|
||||
user_id: int,
|
||||
amount: float,
|
||||
part_of_day: int,
|
||||
date_: Optional[date] = None,
|
||||
):
|
||||
super().__init__()
|
||||
@@ -151,4 +150,3 @@ class FoodLog(db.Model):
|
||||
self.amount = amount
|
||||
if date_ is not None:
|
||||
self.date_ = date_
|
||||
self.part_of_day = part_of_day
|
||||
|
||||
Reference in New Issue
Block a user