From a672eb1f2bd95517b6beec378bed6dc7b6d93eb0 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 4 Jun 2021 15:44:53 +0530 Subject: fix user model --- app/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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 -- cgit v1.2.3