Mr-Help commited on
Commit
3014589
·
verified ·
1 Parent(s): 661c26f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -39,6 +39,10 @@ def create_task(task: TaskData):
39
  }
40
 
41
  response = requests.post(URL, headers=headers, json=payload)
 
 
 
 
42
  # Prepare WhatsApp notification
43
  if response.status_code == 200:
44
  task_id = response_data.get("id", "Unknown ID")
 
39
  }
40
 
41
  response = requests.post(URL, headers=headers, json=payload)
42
+
43
+ response_data = response.json()
44
+ logging.info(f"Received response from ClickUp: {response.status_code}, {response_data}")
45
+
46
  # Prepare WhatsApp notification
47
  if response.status_code == 200:
48
  task_id = response_data.get("id", "Unknown ID")