From cbc05b52cefbb6d3c2d29e5ff6a453d19cde6965 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 2 Jan 2026 13:01:20 +0100 Subject: [PATCH] fix: Use execute_query_single for case details (v1.3.83) - Fix get_case_details using execute_query instead of execute_query_single - execute_query returns list, execute_query_single returns dict - Prevents 500 error when loading case details --- VERSION | 2 +- app/timetracking/backend/wizard.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index b64f251..d00cda9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.82 \ No newline at end of file +1.3.83 \ No newline at end of file diff --git a/app/timetracking/backend/wizard.py b/app/timetracking/backend/wizard.py index e9b26ba..45f99cc 100644 --- a/app/timetracking/backend/wizard.py +++ b/app/timetracking/backend/wizard.py @@ -611,7 +611,7 @@ class WizardService: FROM tmodule_cases WHERE id = %s """ - case = execute_query(case_query, (case_id,)) + case = execute_query_single(case_query, (case_id,)) if not case: raise HTTPException(status_code=404, detail="Case not found")