From f8747a21eefe3404e699763c0b6fa5ff097c66aa Mon Sep 17 00:00:00 2001 From: vincent porte Date: Mon, 2 Dec 2024 11:38:18 +0100 Subject: [PATCH] update DEFAULT_FROM_EMAIL --- config/settings/base.py | 2 +- lacommunaute/users/tests/__snapshots__/tests_views.ambr | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 67eb190a..99d74107 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -362,7 +362,7 @@ SIB_CONTACTS_URL = os.path.join(SIB_URL, "contacts/import") SIB_API_KEY = os.getenv("SIB_API_KEY", "set-sib-api-key") -DEFAULT_FROM_EMAIL = os.getenv("DEFAULT_FROM_EMAIL", "noreply@inclusion.beta.gouv.fr") +DEFAULT_FROM_EMAIL = os.getenv("DEFAULT_FROM_EMAIL", "noreply@inclusion.gouv.fr") SIB_MAGIC_LINK_TEMPLATE = 31 SIB_UNANSWERED_QUESTION_TEMPLATE = 10 diff --git a/lacommunaute/users/tests/__snapshots__/tests_views.ambr b/lacommunaute/users/tests/__snapshots__/tests_views.ambr index 23905b0d..e7abfdae 100644 --- a/lacommunaute/users/tests/__snapshots__/tests_views.ambr +++ b/lacommunaute/users/tests/__snapshots__/tests_views.ambr @@ -528,8 +528,8 @@ ''' # --- # name: TestSendMagicLink.test_send_magic_link[DEV-1][send_magic_link_payload] - '{"sender": {"name": "La Communaut\\u00e9", "email": "noreply@inclusion.beta.gouv.fr"}, "to": [{"email": "samuel@jackson.com"}], "params": {"display_name": "Samuel J.", "login_link": "LOGIN_LINK"}, "templateId": 31}' + '{"sender": {"name": "La Communaut\\u00e9", "email": "noreply@inclusion.gouv.fr"}, "to": [{"email": "samuel@jackson.com"}], "params": {"display_name": "Samuel J.", "login_link": "LOGIN_LINK"}, "templateId": 31}' # --- # name: TestSendMagicLink.test_send_magic_link[PROD-0][send_magic_link_payload] - '{"sender": {"name": "La Communaut\\u00e9", "email": "noreply@inclusion.beta.gouv.fr"}, "to": [{"email": "samuel@jackson.com"}], "params": {"display_name": "Samuel J.", "login_link": "LOGIN_LINK"}, "templateId": 31}' + '{"sender": {"name": "La Communaut\\u00e9", "email": "noreply@inclusion.gouv.fr"}, "to": [{"email": "samuel@jackson.com"}], "params": {"display_name": "Samuel J.", "login_link": "LOGIN_LINK"}, "templateId": 31}' # ---