diff --git a/lemarche/utils/apis/api_brevo.py b/lemarche/utils/apis/api_brevo.py index 33a353b4e..d0de73308 100644 --- a/lemarche/utils/apis/api_brevo.py +++ b/lemarche/utils/apis/api_brevo.py @@ -124,7 +124,7 @@ def send_transactional_email_with_template( recipient_email: str, recipient_name: str, variables: dict, - subject: str, + subject=None, from_email=settings.DEFAULT_FROM_EMAIL, from_name=settings.DEFAULT_FROM_NAME, ): diff --git a/lemarche/utils/apis/api_mailjet.py b/lemarche/utils/apis/api_mailjet.py index d1e955036..763239977 100644 --- a/lemarche/utils/apis/api_mailjet.py +++ b/lemarche/utils/apis/api_mailjet.py @@ -99,7 +99,7 @@ def send_transactional_email_with_template( recipient_email: str, recipient_name: str, variables: dict, - subject: str, + subject=None, from_email=settings.DEFAULT_FROM_EMAIL, from_name=settings.DEFAULT_FROM_NAME, client=None,