diff options
author | Botond Hende <nettingman@gmail.com> | 2024-09-01 23:38:43 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-09-01 23:38:43 +0200 |
commit | 3a390ff218903b8665a99f94d7f3a65357b6e96d (patch) | |
tree | b4c9c4679d931ef59977518e98be6ff4b16843f6 /apirouters/customize_ship.py | |
parent | a994b822a4231061153c6b27d8c5d7307b59f8b0 (diff) |
removed unnecessary code
Diffstat (limited to 'apirouters/customize_ship.py')
-rw-r--r-- | apirouters/customize_ship.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apirouters/customize_ship.py b/apirouters/customize_ship.py index 7be3279..c69d421 100644 --- a/apirouters/customize_ship.py +++ b/apirouters/customize_ship.py @@ -11,6 +11,7 @@ class RenameBody(BaseModel): name: str +# TODO depend on ship instead of auth_agent @router.post("/customize_ship/{ship_symbol}/rename") async def rename(ship_symbol: str, rename_body: RenameBody, agent: Annotated[Agent, Depends(auth_agent)]): for current_ship in agent.ships.values(): |