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.
This commit is contained in:
KT 2023-08-14 20:03:19 +08:00
parent 5a8d22f360
commit fb7ab6f5e7

View File

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