From 4c284531736422f71afafb349fd5ed4da13497c1 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Mon, 3 Jun 2024 00:49:08 -0400 Subject: [PATCH] fix(aurora): fixed a TypeError --- aurora/models/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/models/moderation.py b/aurora/models/moderation.py index db9e681..23b6a5d 100644 --- a/aurora/models/moderation.py +++ b/aurora/models/moderation.py @@ -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()