From 84235d6504a87af114716c561418a567c8993233 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 May 2024 14:41:16 -0400 Subject: [PATCH] fix(aurora): call from_dict properly --- aurora/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/models.py b/aurora/models.py index 3304909..57c8a80 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -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"]