Fix: pass template_id to batch mode handler so top-level template_id works as default

This commit is contained in:
YueGuobin 2026-06-15 22:57:40 +08:00
parent cef6dc6bd2
commit e5797c3da0
No known key found for this signature in database

View File

@ -509,6 +509,7 @@ async def node_create(
if nodes is not None:
return await asyncio.to_thread(_run_handler_sync, create_node_handler, {
"project_id": project_id, "nodes": nodes, "fields": fields,
"template_id": template_id,
})
return await asyncio.to_thread(_run_handler_sync, create_node_handler, {
"project_id": project_id, "template_id": template_id,