Skip to content

Commit

Permalink
fix: wrong search & replace on messages
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelseeger committed Jun 21, 2024
1 parent 4c9a178 commit 5dff9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions replays/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Color(BaseModel):
r: int = None


class AssistantMessage(BaseModel):
class ReplayMessage(BaseModel):
pid: int = None
second: int = None
text: str = None
Expand Down Expand Up @@ -120,7 +120,7 @@ class Player(BaseModel):
highest_league: int = None
name: str = None
max_creep_spread: Tuple[int, float] | None = None
messages: List[AssistantMessage] = None
messages: List[ReplayMessage] = None
pick_race: str = None
pid: int = None
play_race: str = None
Expand Down

0 comments on commit 5dff9f3

Please sign in to comment.