Fix: Timetracking ordre generering brugte execute_query_single i stedet for execute_query
This commit is contained in:
parent
3628cbd9fe
commit
0d9af55dfc
@ -108,7 +108,7 @@ class OrderService:
|
|||||||
AND t.billable = true
|
AND t.billable = true
|
||||||
ORDER BY c.id, t.worked_date
|
ORDER BY c.id, t.worked_date
|
||||||
"""
|
"""
|
||||||
approved_times = execute_query_single(query, (customer_id,))
|
approved_times = execute_query(query, (customer_id,))
|
||||||
|
|
||||||
if not approved_times:
|
if not approved_times:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user