summaryrefslogtreecommitdiff
path: root/apirouters/customize_ship.py
diff options
context:
space:
mode:
Diffstat (limited to 'apirouters/customize_ship.py')
-rw-r--r--apirouters/customize_ship.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apirouters/customize_ship.py b/apirouters/customize_ship.py
index ca3ef83..5f0666e 100644
--- a/apirouters/customize_ship.py
+++ b/apirouters/customize_ship.py
@@ -13,7 +13,7 @@ class RenameBody(BaseModel):
@router.post("/customize_ship/{ship_symbol}/rename")
-async def rename(ship_symbol: str, rename_body: RenameBody, ship: Annotated[Ship, Depends(ships.get_ship)]):
+async def rename(rename_body: RenameBody, ship: Annotated[Ship, Depends(ships.get_ship)]):
ship.rename(rename_body.name)
return ship.get_data()