Skip to content

Commit

Permalink
fix(Emails): ajout de valeur par défaut pour subject (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored May 8, 2024
1 parent ad2bbc0 commit 59f2497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lemarche/utils/apis/api_brevo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
):
Expand Down
2 changes: 1 addition & 1 deletion lemarche/utils/apis/api_mailjet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 59f2497

Please sign in to comment.