diff options
author | Botond Hende <nettingman@gmail.com> | 2024-09-02 00:34:51 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-09-02 00:34:51 +0200 |
commit | dd04935e77aaaf0db7b99d89d5c286b5c186ac15 (patch) | |
tree | d5c4a2c409004a43c729250b33cd1c954d24f4db | |
parent | 5f67692c2424ce54c8dd754ef87d8d753759700e (diff) |
-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(): |