diff --git a/ndoh_hub/utils.py b/ndoh_hub/utils.py index 50cce406..79bbd3cf 100644 --- a/ndoh_hub/utils.py +++ b/ndoh_hub/utils.py @@ -261,6 +261,10 @@ def send_whatsapp_template_message( response_data = response.json() + print(">>> send_whatsapp_template_message") + print(f"save_status_record: {save_status_record}") + print(response_data) + status_id = None prefered_chanel = "WhatsApp" if "messages" not in response_data: @@ -273,4 +277,6 @@ def send_whatsapp_template_message( message_id=message_id ).id + print(f"status_id: {status_id}") + return prefered_chanel, status_id