fix(aurora): fixed an incorrect function call in Moderation.from_sql()
This commit is contained in:
parent
26bf5920c6
commit
a3a208b38e
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class Moderation(AuroraBaseModel):
|
||||||
result = cursor.fetchone()
|
result = cursor.fetchone()
|
||||||
|
|
||||||
if result:
|
if result:
|
||||||
case = generate_dict(result)
|
case = generate_dict(result, guild_id)
|
||||||
cursor.close()
|
cursor.close()
|
||||||
return cls.from_dict(bot, case)
|
return cls.from_dict(bot, case)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue