diff options
Diffstat (limited to 'apirouters')
-rw-r--r-- | apirouters/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apirouters/tasks.py b/apirouters/tasks.py index 87fdb6e..5272f8d 100644 --- a/apirouters/tasks.py +++ b/apirouters/tasks.py @@ -11,7 +11,7 @@ from ..entities.agent import Agent router = APIRouter() -@router.get("/tasks") +@router.get("/task") async def get_tasks(agent: Annotated[Agent, Depends(auth.auth_agent)]): ret_list = [] for current_ship in agent.ships.values(): |