Skip to content

Commit

Permalink
Renamed endpoints to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
JmScherer committed Oct 23, 2023
1 parent 9a978e9 commit 1c3a747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/routers/analysis_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(...),
Expand All @@ -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(...),
Expand Down

0 comments on commit 1c3a747

Please sign in to comment.