From 1c3a747b8a5f61d898948e7a56b43f877c01ae7d Mon Sep 17 00:00:00 2001 From: James Scherer Date: Mon, 23 Oct 2023 14:19:58 -0500 Subject: [PATCH] Renamed endpoints to be consistent --- backend/src/routers/analysis_router.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/routers/analysis_router.py b/backend/src/routers/analysis_router.py index b879c4e4..93b15536 100644 --- a/backend/src/routers/analysis_router.py +++ b/backend/src/routers/analysis_router.py @@ -169,7 +169,7 @@ def remove_animal_model_system_report( return repositories['analysis'].remove_section_supporting_evidence(analysis_name, section_name, field_name) -@router.put("/{analysis_name}/section/link/attach") +@router.put("/{analysis_name}/section/attach/link") def attach_animal_model_system_imaging( analysis_name: str, section_name: str = Form(...), @@ -189,7 +189,7 @@ def attach_animal_model_system_imaging( ) -@router.put("/{analysis_name}/section/link/remove") +@router.put("/{analysis_name}/section/remove/link") def remove_animal_model_system_imaging( analysis_name: str, section_name: str = Form(...),