fix(api): return 200 instead of 201 for ACL endpoints, IOU license update

This commit is contained in:
Mark Paronyan committed 2026-10-07 13:56:08 +03:00
1 parent 2fb7056cb9
commit 97d5480241
8 files changed
+18 -6

No files matched your search

@@ -106,7 +106,7 @@ async def delete_snapshot(
@router.post(
"/{snapshot_id}/restore",
status_code=status.HTTP_201_CREATED,
status_code=status.HTTP_200_OK,
response_model=schemas.Project,
dependencies=[Depends(has_privilege("Snapshot.Restore"))],
)