fix: Use dict keys instead of numeric indices for RealDictCursor rows
This commit is contained in:
parent
ce4666a535
commit
0725461056
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user