Skip to content

Commit

Permalink
fix: erreur sur une variable non définie. ref #1102
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Mar 28, 2024
1 parent f8b741e commit ecadcd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lemarche/utils/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def add_to_contact_list(user, type: str, source: str = user_constants.SOURCE_SIG
user (User): the user how will be added in the contact list
type (String): "signup", OR "buyer_download" or "buyer_search" else raise ValueError
"""
contact_list_id = None
if type == "signup":
contact_list_id = api_mailjet.get_mailjet_cl_on_signup(user, source)
if user.kind == user.KIND_BUYER:
Expand Down

0 comments on commit ecadcd0

Please sign in to comment.