fix(aurora): fixed a missing kwarg in a model initialization function

This commit is contained in:
Seaswimmer 2024-05-04 18:08:27 -04:00
parent 1313834ea5
commit 74a0983419
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -102,7 +102,7 @@ class Change(AuroraBaseModel):
@classmethod @classmethod
def from_dict(cls, bot: Red, guild_id: int, data: dict) -> "Change": def from_dict(cls, bot: Red, guild_id: int, data: dict) -> "Change":
return cls(bot=bot, **data) return cls(bot=bot, guild_id=guild_id, **data)
class PartialUser(AuroraBaseModel): class PartialUser(AuroraBaseModel):
id: int id: int