♻️ use put and return 200 OK

This commit is contained in:
Fred KISSIE
2026-03-03 03:31:43 +01:00
parent 0a69131c38
commit 89e7107a47
5 changed files with 12 additions and 12 deletions

View File

@@ -734,7 +734,7 @@ authenticated.post(
resource.setResourcePolicyUsers
);
authenticated.post(
authenticated.put(
"/resource-policy/:resourcePolicyId/password",
verifyResourcePolicyAccess,
verifyLimits,
@@ -743,7 +743,7 @@ authenticated.post(
policy.setResourcePolicyPassword
);
authenticated.post(
authenticated.put(
"/resource-policy/:resourcePolicyId/pincode",
verifyResourcePolicyAccess,
verifyLimits,
@@ -752,7 +752,7 @@ authenticated.post(
policy.setResourcePolicyPincode
);
authenticated.post(
authenticated.put(
"/resource-policy/:resourcePolicyId/header-auth",
verifyResourcePolicyAccess,
verifyLimits,