Skip to content

Commit

Permalink
fix: tup-711 confirmation e-mail not sent
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Mar 18, 2024
1 parent 83dcb26 commit 1a5ed60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tup-cms/src/apps/portal/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def callback(form, cleaned_data, **kwargs):
logger.debug(f"received submission from {form.name}")
if form.name == 'rt-ticket-form':
submit_ticket(cleaned_data)
elif hasattr(cleaned_data, "email"):
elif ('email' in cleaned_data):
send_confirmation_email(form.name, cleaned_data)


Expand Down

0 comments on commit 1a5ed60

Please sign in to comment.