Skip to content

A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物

fix(api): remove duplicate to_dict() call in /api/graph/tasks

warren61832fa3c898755
diff --git a/backend/app/api/graph.py b/backend/app/api/graph.py
index 12ff1ba2..378ae75b 100644
--- a/backend/app/api/graph.py
+++ b/backend/app/api/graph.py
@@ -554,7 +554,7 @@ def list_tasks():
return jsonify({
"success": True,
- "data": [t.to_dict() for t in tasks],
+ "data": tasks,
"count": len(tasks)
})