diff --git a/app/contacts/backend/router.py b/app/contacts/backend/router.py index 083249b..1b69e06 100644 --- a/app/contacts/backend/router.py +++ b/app/contacts/backend/router.py @@ -70,7 +70,7 @@ async def get_contacts( """ params.extend([limit, offset]) - contacts = execute_query_single(query, tuple(params)) # Default is fetchall + contacts = execute_query(query, tuple(params)) # Returns all rows return { "contacts": contacts or [],