Compare commits

..

No commits in common. "e20defa4e13bce2903882a812d8d3fd34753130a" and "afb57ef0778c2d92160b39a5f40119d020697642" have entirely different histories.

View File

@ -62,10 +62,7 @@ class HabitList:
# Adds a User by email to the HabitList
def add_user(self, email: str):
user = User.get_by_email(email)
if user:
add_user(self.id, user.id)
else:
return None
# Removes a User from the HabitList