From 596eba42584f27783e6eccfe79cb9205df3e280b Mon Sep 17 00:00:00 2001 From: Cal Ellowitz Date: Wed, 18 Dec 2024 19:47:09 -0500 Subject: [PATCH] fix function error --- corehq/apps/sms/handlers/fallback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corehq/apps/sms/handlers/fallback.py b/corehq/apps/sms/handlers/fallback.py index 6201692f3015..5aaa4e4e565c 100644 --- a/corehq/apps/sms/handlers/fallback.py +++ b/corehq/apps/sms/handlers/fallback.py @@ -9,7 +9,7 @@ def fallback_handler(verified_number, text, msg): domain_obj = Domain.get_by_name(verified_number.domain, strict=True) - if verified_number isinstance(ConnectMessagingNumber): + if isinstance(verified_number, ConnectMessagingNumber): content_type = MessagingEvent.CONTENT_CONNECT else: content_type = MessagingEvent.CONTENT_SMS