From 71519b9172acdc73016f063228b8774ff5516329 Mon Sep 17 00:00:00 2001
From: Stephen McMurtry <smcmurtry@gmail.com>
Date: Mon, 13 Jan 2025 21:49:00 +0000
Subject: [PATCH] fix mixed returns from new fn

---
 app/clients/freshdesk.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/clients/freshdesk.py b/app/clients/freshdesk.py
index 27bbcb908c..3acde2e780 100644
--- a/app/clients/freshdesk.py
+++ b/app/clients/freshdesk.py
@@ -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"]
         )