don't dupe player on rename
This commit is contained in:
parent
85be664107
commit
a665e1e31c
2 changed files with 3 additions and 3 deletions
|
|
@ -89,6 +89,7 @@ class HeroUpdate(HeroBase):
|
|||
)
|
||||
if r.status_code != 200:
|
||||
raise RuntimeError(f"{r.status_code}:\n {r.text}")
|
||||
return Hero.parse_obj(r.json())
|
||||
|
||||
|
||||
class HeroDelete(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue