diff --git a/djangoldp_tzcld/models.py b/djangoldp_tzcld/models.py index 042d104eccf816dae84a755bf52a630434451192..8d4871652727790d34c55a2f2a086312e4d7f364 100644 --- a/djangoldp_tzcld/models.py +++ b/djangoldp_tzcld/models.py @@ -993,7 +993,7 @@ def create_user_tzcld_profile(sender, instance, created, **kwargs): # add the user to the first (tzcld) community community = Community.objects.order_by('id').first() if community: - community.members.user_set.add(user) + community.members.user_set.add(instance) # Create tzcld community profile, job instance and contact email/phone when community is created @receiver(post_save, sender=Community)