diff --git a/common/serializer.py b/common/serializer.py index fc4678da1..3d6bebb54 100644 --- a/common/serializer.py +++ b/common/serializer.py @@ -184,7 +184,6 @@ class Meta: class ProfileSerializer(serializers.ModelSerializer): - address = BillingAddressSerializer() class Meta: model = Profile diff --git a/teams/urls.py b/teams/urls.py index 526b3b98e..1a23bbea7 100644 --- a/teams/urls.py +++ b/teams/urls.py @@ -6,5 +6,5 @@ urlpatterns = [ path("", views.TeamsListView.as_view()), - path("/", views.TeamsDetailView.as_view()), + path("/", views.TeamsDetailView.as_view()), ] diff --git a/teams/views.py b/teams/views.py index 7d3cdf186..dda221c1d 100644 --- a/teams/views.py +++ b/teams/views.py @@ -150,7 +150,7 @@ def put(self, request, pk, *args, **kwargs): team_obj.users.clear() if params.get("assign_users"): - assinged_to_list = json.loads(params.get("assign_users")) + assinged_to_list = params.get("assign_users") profiles = Profile.objects.filter( id__in=assinged_to_list, org=request.profile.org )