Update app.py
Browse files
app.py
CHANGED
|
@@ -160,7 +160,10 @@ async def create_task(request: Request):
|
|
| 160 |
|
| 161 |
# ➕ Prepare the update payload to add the assignee and duedate to the created task from template
|
| 162 |
update_payload = {
|
| 163 |
-
"assignees":
|
|
|
|
|
|
|
|
|
|
| 164 |
"status": status
|
| 165 |
}
|
| 166 |
|
|
|
|
| 160 |
|
| 161 |
# ➕ Prepare the update payload to add the assignee and duedate to the created task from template
|
| 162 |
update_payload = {
|
| 163 |
+
"assignees": {
|
| 164 |
+
"add": [int(uid) for uid in assignee_ids],
|
| 165 |
+
"rem": [] # optionally remove others if needed
|
| 166 |
+
},
|
| 167 |
"status": status
|
| 168 |
}
|
| 169 |
|