fix: Use dict keys instead of numeric indices for RealDictCursor rows
This commit is contained in:
1 parent
ce4666a535
commit
0725461056
1 file changed
+3
-3
@@ -80,9 +80,9 @@ async def execute_workflow_endpoint(
|
||||
raise HTTPException(404, f"Workflow nicht gefunden: {workflow_id}")
|
||||
|
||||
workflow_prompt = {
|
||||
"id": row[0],
|
||||
"name": row[1],
|
||||
"slug": row[2],
|
||||
"id": row['id'],
|
||||
"name": row['name'],
|
||||
"slug": row['slug'],
|
||||
"type": "workflow"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user