fix(aurora): call from_dict properly
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s

This commit is contained in:
Seaswimmer 2024-05-06 14:41:16 -04:00
parent 70c00a59d6
commit 84235d6504
Signed by: 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"]