From 3a390ff218903b8665a99f94d7f3a65357b6e96d Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 1 Sep 2024 23:38:43 +0200 Subject: removed unnecessary code --- apirouters/customize_ship.py | 1 + 1 file changed, 1 insertion(+) (limited to 'apirouters/customize_ship.py') 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(): -- cgit v1.2.3-70-g09d2