fix individual call

This commit is contained in:
Cayo Puigdefabregas 2022-04-12 16:59:45 +02:00
parent 46bfc7fd47
commit 89bb4770d9
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class User(UserMixin, Thing):
@property @property
def get_full_name(self): def get_full_name(self):
if self.individual: if self.individuals:
return self.individual.get_full_name return self.individual.get_full_name
return self.email return self.email