From 5163fd5e53394f529c029d34cafd830477f50bfe Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Thu, 22 Oct 2020 15:43:06 +0200 Subject: [PATCH] Remove profile_image field from the api --- users/api/serializers.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/users/api/serializers.py b/users/api/serializers.py index 9c941a53..fc16a702 100644 --- a/users/api/serializers.py +++ b/users/api/serializers.py @@ -45,7 +45,6 @@ class UserSerializer(NamespacedHMSerializer): "state", "registered", "telephone", - "profile_image", "solde", "access", "end_access", @@ -78,7 +77,6 @@ class ClubSerializer(NamespacedHMSerializer): "state", "registered", "telephone", - "profile_image", "solde", "room", "access", @@ -114,7 +112,6 @@ class AdherentSerializer(NamespacedHMSerializer): "state", "registered", "telephone", - "profile_image", "room", "solde", "access", @@ -244,4 +241,4 @@ class MailingSerializer(ClubSerializer): admins = MailingMemberSerializer(source="administrators", many=True) class Meta(ClubSerializer.Meta): - fields = ("name", "members", "admins") \ No newline at end of file + fields = ("name", "members", "admins")