Use connection instead of connections

This commit is contained in:
Mustafa Gezen 2023-02-02 14:55:08 +01:00
parent 988ac4d042
commit 3f336ee169
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -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