fix: Use dict keys instead of numeric indices for RealDictCursor rows
All checks were successful
Deploy Development / deploy (push) Successful in 50s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s

This commit is contained in:
Lars 2026-04-03 21:34:47 +02:00
parent ce4666a535
commit 0725461056

View File

@ -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"
}