8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Remove profile_image field from the api

This commit is contained in:
grisel-davy 2020-10-22 15:43:06 +02:00 committed by Gabriel Detraz
parent 50086cb346
commit 54ead7a117

View file

@ -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")
fields = ("name", "members", "admins")