diff --git a/lacommunaute/notification/tasks.py b/lacommunaute/notification/tasks.py index 63156821..db90a022 100644 --- a/lacommunaute/notification/tasks.py +++ b/lacommunaute/notification/tasks.py @@ -30,7 +30,6 @@ def get_grouped_notifications(): message_count_text = f"{message_count} message{pluralize(message_count, 's')}" params = { - "email_object": "Bonne nouvelle, ça bouge pour vous dans la communauté !", "email_thumbnail": (f"Vous avez {message_count_text} à découvrir sur la communauté de l'inclusion"), "messages": get_serialized_messages(recipient_notifications[:NEW_MESSAGES_EMAIL_MAX_PREVIEW]), } diff --git a/lacommunaute/notification/tests/tests_tasks.py b/lacommunaute/notification/tests/tests_tasks.py index 07905e17..75d97e94 100644 --- a/lacommunaute/notification/tests/tests_tasks.py +++ b/lacommunaute/notification/tests/tests_tasks.py @@ -55,7 +55,6 @@ def get_expected_email_payload(self, notifications): message_count_text = f"{message_count} message{pluralize(message_count, 's')}" params = { - "email_object": "Bonne nouvelle, ça bouge pour vous dans la communauté !", "email_thumbnail": (f"Vous avez {message_count_text} à découvrir sur la communauté de l'inclusion"), "messages": get_serialized_messages(recipient_notifications[:NEW_MESSAGES_EMAIL_MAX_PREVIEW]), }