Fix status code 204 must not have a response body.

This commit is contained in:
grossmj 2020-10-19 18:42:27 +10:30
parent 993e6a80e4
commit b8e8e5cba7

View File

@ -149,7 +149,6 @@ async def start_capture(capture_data: dict, link: Link = Depends(dep_link)):
@router.post("/{link_id}/stop_capture",
status_code=status.HTTP_204_NO_CONTENT,
response_model=schemas.Link,
responses=responses)
async def stop_capture(link: Link = Depends(dep_link)):
"""