Skip to content

Commit

Permalink
fix mixed returns from new fn
Browse files Browse the repository at this point in the history
  • Loading branch information
smcmurtry committed Jan 13, 2025
1 parent e4d084b commit 71519b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/clients/freshdesk.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def send_ticket(self) -> int:
def email_freshdesk_ticket_freshdesk_down(self):
if current_app.config["CONTACT_FORM_EMAIL_ADDRESS"] is None:
current_app.logger.info("Cannot email contact us form, CONTACT_FORM_EMAIL_ADDRESS is empty")
return 500
self.email_freshdesk_ticket(
current_app.config["CONTACT_FORM_EMAIL_ADDRESS"], current_app.config["CONTACT_FORM_DIRECT_EMAIL_TEMPLATE_ID"]
)
Expand Down

0 comments on commit 71519b9

Please sign in to comment.