fix(aurora): call from_dict properly

This commit is contained in:
Seaswimmer 2024-05-06 14:41:16 -04:00
parent 70c00a59d6
commit 84235d6504
Signed by untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -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"]