From 83522833e88ef64a053e7832f672ca0c0fe58bb3 Mon Sep 17 00:00:00 2001 From: grisel-davy Date: Wed, 31 Oct 2018 20:09:46 +0100 Subject: [PATCH] Renvois l'adresse mail par get_mail au lieux de email --- api/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/serializers.py b/api/serializers.py index 94d20ed5..de69a4b5 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -964,7 +964,7 @@ class ReminderUsersSerializer(UserSerializer): """Serialize the data about a mailing member. """ class Meta(UserSerializer.Meta): - fields = ('get_full_name', 'email') + fields = ('get_full_name', 'get_mail') class ReminderSerializer(serializers.ModelSerializer):