From fb7ab6f5e7b2c48b3f3fff1da68895b9e2ee6835 Mon Sep 17 00:00:00 2001 From: KT Date: Mon, 14 Aug 2023 20:03:19 +0800 Subject: [PATCH] fix: Swap aliases for memory_of_chaos_id/memory_of_chaos Swapped the aliases for memory_of_chaos_id and memory_of_chaos to reflect the correct mapping in the ForgottenHall class. --- mihomo/models/v1/player.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mihomo/models/v1/player.py b/mihomo/models/v1/player.py index 98f9999d..1a140969 100644 --- a/mihomo/models/v1/player.py +++ b/mihomo/models/v1/player.py @@ -36,8 +36,9 @@ class ForgottenHall(BaseModel): memory: int | None = Field(None, alias="PreMazeGroupIndex") """The progress of the memory""" - memory_of_chaos_id: int | None = Field(None, alias="MazeGroupID") - memory_of_chaos: int | None = Field(None, alias="MazeGroupIndex") + memory_of_chaos_id: int | None = Field(None, alias="MazeGroupIndex") + """The ID of the memory of chaos""" + memory_of_chaos: int | None = Field(None, alias="MazeGroupID") """The progress of the memory of chaos"""