From dd04935e77aaaf0db7b99d89d5c286b5c186ac15 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Mon, 2 Sep 2024 00:34:51 +0200 Subject: changed get query path for all get all tasks --- apirouters/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): -- cgit v1.2.3-70-g09d2