summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-09-02 00:34:51 +0200
committerBotond Hende <nettingman@gmail.com>2024-09-02 00:34:51 +0200
commitdd04935e77aaaf0db7b99d89d5c286b5c186ac15 (patch)
treed5c4a2c409004a43c729250b33cd1c954d24f4db
parent5f67692c2424ce54c8dd754ef87d8d753759700e (diff)
changed get query path for all get all tasksHEADmaster
-rw-r--r--apirouters/tasks.py2
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():