auto-sync: 2026-05-30 19:00:32 (catch-all)

This commit is contained in:
cfdaily
2026-05-30 19:00:32 +08:00
parent 0dbb196d61
commit ff8a0bd72e
+4 -1
View File
@@ -141,7 +141,10 @@ async def create_task(project_id: str, body: Dict[str, Any]):
stages_json=body.get("stages_json", "[]"),
)
bb.create_task(task)
return {"ok": True, "task_id": task.id, "title": task.title}
result = {"ok": True, "task_id": task.id, "title": task.title}
if body.get("assignee") and not description_mentions:
result["warning"] = "assignee parameter is deprecated, use @mention in description"
return result
async def _generate_title(description: str) -> str | None: