mirror of
https://github.com/resf/distro-tools.git
synced 2024-11-21 20:51:27 +00:00
Use connection instead of connections
This commit is contained in:
parent
988ac4d042
commit
3f336ee169
@ -59,7 +59,7 @@ async def list_advisories(
|
||||
"""
|
||||
|
||||
connection = connections.get("default")
|
||||
results = await connections.execute_query(
|
||||
results = await connection.execute_query(
|
||||
a, [search, params.size, params.size * (params.page - 1)]
|
||||
)
|
||||
count = 0
|
||||
|
Loading…
Reference in New Issue
Block a user