Fix: Contacts query skulle returnere alle rækker ikke kun én
This commit is contained in:
parent
e4b940009f
commit
5bb6e73a26
@ -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 [],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user