Update app.py
Browse files
app.py
CHANGED
|
@@ -59,6 +59,22 @@ async def create_task(request: Request):
|
|
| 59 |
start_date = data.get('startDate', '')
|
| 60 |
end_date = data.get('endDate', '')
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
# WhatsApp notification part is commented out for now
|
| 63 |
# We'll handle WhatsApp notification later
|
| 64 |
|
|
|
|
| 59 |
start_date = data.get('startDate', '')
|
| 60 |
end_date = data.get('endDate', '')
|
| 61 |
|
| 62 |
+
# Print extracted values for debugging
|
| 63 |
+
print(f"Team: {team}")
|
| 64 |
+
print(f"Task Type: {task_type}")
|
| 65 |
+
print(f"Task Title: {task_title}")
|
| 66 |
+
print(f"Assignees: {assignees}")
|
| 67 |
+
print(f"Platforms: {platforms}")
|
| 68 |
+
print(f"Deadline: {deadline}")
|
| 69 |
+
print(f"Goal: {goal}")
|
| 70 |
+
print(f"Description: {description}")
|
| 71 |
+
print(f"Creative Type: {creative_type}")
|
| 72 |
+
print(f"Ad Content: {ad_content}")
|
| 73 |
+
print(f"Posting Content: {posting_content}")
|
| 74 |
+
print(f"Attachment Link: {attachment_link}")
|
| 75 |
+
print(f"Start Date: {start_date}")
|
| 76 |
+
print(f"End Date: {end_date}")
|
| 77 |
+
|
| 78 |
# WhatsApp notification part is commented out for now
|
| 79 |
# We'll handle WhatsApp notification later
|
| 80 |
|