Fixed bug
This commit is contained in:
parent
94fa2f567f
commit
08ff2cfc16
2
app.py
2
app.py
@ -401,7 +401,7 @@ def check_habit():
|
|||||||
if current_user not in users:
|
if current_user not in users:
|
||||||
return {"error": "Habit does not belong to user"}
|
return {"error": "Habit does not belong to user"}
|
||||||
|
|
||||||
trackings = habit.get_habitTracking()
|
trackings = habit.get_habitTrackings()
|
||||||
|
|
||||||
# Check if habit has been tracked today
|
# Check if habit has been tracked today
|
||||||
delete_tracking = None
|
delete_tracking = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user