diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-04 15:44:53 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-04 15:44:53 +0530 |
commit | a672eb1f2bd95517b6beec378bed6dc7b6d93eb0 (patch) | |
tree | cb0ebbc9394e7b7cd15ff269a6840b7ab7f4fc50 /app | |
parent | d84dfa66b0318602717eda2556f81e266d55a5a6 (diff) |
fix user model
Diffstat (limited to 'app')
-rw-r--r-- | app/models.py | 4 |
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 |