fix: Use execute_query instead of execute_query_single to return all customer contacts

This commit is contained in:
Christian 2026-01-05 19:03:34 +01:00
parent 935d2253f7
commit da5ec19188
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
1.3.117
1.3.118

View File

@ -743,7 +743,7 @@ async def lock_customer_subscriptions(customer_id: int, lock_request: dict):
@router.get("/customers/{customer_id}/contacts")
async def get_customer_contacts(customer_id: int):
"""Get all contacts for a specific customer"""
rows = execute_query_single("""
rows = execute_query("""
SELECT
c.*,
cc.is_primary,