Skip to content

Commit

Permalink
fix: tup-675 tour request form 500 error on submit
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar committed Dec 21, 2023
1 parent f07eefa commit 87aa8f9
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)
else:
elif cleaned_data["email"]:
send_confirmation_email(form.name, cleaned_data)


Expand Down

0 comments on commit 87aa8f9

Please sign in to comment.