mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-25 01:38:08 +00:00
Fix status code 204 must not have a response body.
This commit is contained in:
parent
993e6a80e4
commit
b8e8e5cba7
@ -149,7 +149,6 @@ async def start_capture(capture_data: dict, link: Link = Depends(dep_link)):
|
|||||||
|
|
||||||
@router.post("/{link_id}/stop_capture",
|
@router.post("/{link_id}/stop_capture",
|
||||||
status_code=status.HTTP_204_NO_CONTENT,
|
status_code=status.HTTP_204_NO_CONTENT,
|
||||||
response_model=schemas.Link,
|
|
||||||
responses=responses)
|
responses=responses)
|
||||||
async def stop_capture(link: Link = Depends(dep_link)):
|
async def stop_capture(link: Link = Depends(dep_link)):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user