mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
fix(api): return 200 instead of 201 for ACL endpoints, IOU license update
This commit is contained in:
8 files changed
+18
-6
No files matched your search
@@ -146,7 +146,7 @@ def get_iou_license() -> schemas.IOULicense:
|
||||
@router.put(
|
||||
"/iou_license",
|
||||
dependencies=[Depends(get_current_active_user)],
|
||||
status_code=status.HTTP_201_CREATED,
|
||||
status_code=status.HTTP_200_OK,
|
||||
response_model=schemas.IOULicense,
|
||||
)
|
||||
async def update_iou_license(iou_license: schemas.IOULicense) -> schemas.IOULicense:
|
||||
|
||||
Reference in new issue
Block a user