aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models.py b/app/models.py
index bd28e75..d7b3ba2 100644
--- a/app/models.py
+++ b/app/models.py
@@ -34,10 +34,10 @@ class User(db.Model, UserMixin):
return self.email
def get_role(self):
- return self.roles
+ return self.role
def get_team(self):
- return self.get_team
+ return self.team
def is_paid(self):
return self.paid \ No newline at end of file