Skip to content

Commit

Permalink
Fix naming error.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed Oct 16, 2024
1 parent 01ad332 commit 2189cc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion npps4/data/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ def exchange_item_id(self) -> int:


class SerializedServerData(pydantic.BaseModel):
json_schema_link: pydantic.json_schema.SkipJsonSchema[str | None] = pydantic.Field(default=None, alias="$schema")
json_schema_link: pydantic.json_schema.SkipJsonSchema[str | None] = pydantic.Field(
default=None, validation_alias="$schema", serialization_alias="$schema"
)
badwords: list[pydantic.Base64UrlStr]
achievement_reward: list[AchievementReward]
live_unit_drop_chance: LiveUnitDropChance
Expand Down

0 comments on commit 2189cc0

Please sign in to comment.