diff --git a/ereuse_devicehub/resources/user/models.py b/ereuse_devicehub/resources/user/models.py index 039a4bf3..7981fec5 100644 --- a/ereuse_devicehub/resources/user/models.py +++ b/ereuse_devicehub/resources/user/models.py @@ -85,7 +85,7 @@ class User(UserMixin, Thing): @property def get_full_name(self): - if self.individual: + if self.individuals: return self.individual.get_full_name return self.email