aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-04 15:44:53 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-04 15:44:53 +0530
commita672eb1f2bd95517b6beec378bed6dc7b6d93eb0 (patch)
treecb0ebbc9394e7b7cd15ff269a6840b7ab7f4fc50
parentd84dfa66b0318602717eda2556f81e266d55a5a6 (diff)
fix user model
-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