From 4a9f643339efe6bef9987893664e1c328e9f4401 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Thu, 16 Aug 2018 11:53:24 +0200 Subject: [PATCH] =?UTF-8?q?l=20au=20lieux=20de=20user.mail=20pour=20g?= =?UTF-8?q?=C3=A9nerer=20la=20ml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/serializers.py b/api/serializers.py index 2e938a35..65a82eb6 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -872,7 +872,7 @@ class MailingMemberSerializer(UserSerializer): """Serialize the data about a mailing member. """ class Meta(UserSerializer.Meta): - fields = ('name', 'pseudo', 'email') + fields = ('name', 'pseudo', 'get_mail') class MailingSerializer(ClubSerializer): """Serialize the data about a mailing.