fix(aurora): fixed a TypeError
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 1m9s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 42s

This commit is contained in:
Seaswimmer 2024-06-03 00:49:08 -04:00
parent d646754466
commit 4c28453173
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -208,7 +208,7 @@ class Moderation(AuroraGuildModel):
parameters = ()
with connect() as database:
cursor = database.cursor()
cursor.execute(query, parameters=parameters)
cursor.execute(sql=query, parameters=parameters)
results = cursor.fetchall()
cursor.close()