From dadbc837f00725e3abaea98500ec00966da7b06c Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Thu, 23 Jan 2025 13:57:55 +0100 Subject: [PATCH] Adjust api config path Signed-off-by: Felipe Cardoso --- backend/app/api/routes/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/api/routes/config.py b/backend/app/api/routes/config.py index a0354f7..e438302 100644 --- a/backend/app/api/routes/config.py +++ b/backend/app/api/routes/config.py @@ -5,7 +5,7 @@ from app.models.config import TrainingConfig router = APIRouter() -@router.get("/config", response_model=TrainingConfig) +@router.get("/", response_model=TrainingConfig) async def get_training_config(request: Request): """Retrieves the current training configuration""" config_manager = request.app.state.config_manager