Skip to content

Commit eeed75e

Browse files
authored
Merge pull request #609 from praekeltfoundation/capi-backend-changes
Add some debug info
2 parents baff66e + 9cd5e95 commit eeed75e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ndoh_hub/utils.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,10 @@ def send_whatsapp_template_message(
261261

262262
response_data = response.json()
263263

264+
print(">>> send_whatsapp_template_message")
265+
print(f"save_status_record: {save_status_record}")
266+
print(response_data)
267+
264268
status_id = None
265269
prefered_chanel = "WhatsApp"
266270
if "messages" not in response_data:
@@ -273,4 +277,6 @@ def send_whatsapp_template_message(
273277
message_id=message_id
274278
).id
275279

280+
print(f"status_id: {status_id}")
281+
276282
return prefered_chanel, status_id

0 commit comments

Comments
 (0)