fix(aurora): fixed an incorrect function call in Moderation.from_sql()

This commit is contained in:
Seaswimmer 2024-05-04 17:12:35 -04:00
parent 26bf5920c6
commit a3a208b38e
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -66,7 +66,7 @@ class Moderation(AuroraBaseModel):
result = cursor.fetchone()
if result:
case = generate_dict(result)
case = generate_dict(result, guild_id)
cursor.close()
return cls.from_dict(bot, case)