From 0725461056121ca99fa4461674da43c1b72aae70 Mon Sep 17 00:00:00 2001 From: Lars Date: Fri, 3 Apr 2026 21:34:47 +0200 Subject: [PATCH] fix: Use dict keys instead of numeric indices for RealDictCursor rows --- backend/routers/workflows.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/routers/workflows.py b/backend/routers/workflows.py index 3619e91..d37f5b2 100644 --- a/backend/routers/workflows.py +++ b/backend/routers/workflows.py @@ -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" }