Skip to content

Commit

Permalink
change name of endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mayabrandi committed Apr 1, 2021
1 parent ff2b281 commit b6a4370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NIPTool/API/external/api/api_v1/endpoints/update.py
Expand Up @@ -71,7 +71,7 @@ async def sample_comment(request: Request, adapter: NiptAdapter = Depends(get_ni
return RedirectResponse(request.headers.get("referer"))


@router.post("/save_include")
@router.post("/include_samples")
async def include_samples(request: Request, adapter: NiptAdapter = Depends(get_nipt_adapter)):
"""Update include status and comment for samples in batch"""

Expand Down
Expand Up @@ -11,7 +11,7 @@
<div class="col-lg-16">
<div class="panel panel-default">
<div class="panel-body">
<form action="{{ url_for('save_include') }}" method="post">
<form action="{{ url_for('include_samples') }}" method="post">
<input type=text name="form_id" value="include_samples" hidden>
<table>
<tbody>
Expand Down

0 comments on commit b6a4370

Please sign in to comment.