Fixed bug

This commit is contained in:
nikolaswollenberg 2024-02-20 10:00:31 +01:00
parent 94fa2f567f
commit 08ff2cfc16

2
app.py
View File

@ -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