1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

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)):
"""