fix(aurora): call from_dict properly
This commit is contained in:
parent
70c00a59d6
commit
84235d6504
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class Moderation(AuroraGuildModel):
|
|||
case_safe["metadata"],
|
||||
)
|
||||
|
||||
return cls.from_dict(bot=bot, **case)
|
||||
return cls.from_dict(bot=bot, data=case)
|
||||
|
||||
class Change(AuroraBaseModel):
|
||||
type: Literal["ORIGINAL", "RESOLVE", "EDIT"]
|
||||
|
|
Loading…
Reference in a new issue