do the same to delete
All checks were successful
Build and Deploy Frontend / build-and-deploy (push) Successful in 8s
Build and Deploy API / build-and-deploy (push) Successful in 10s

This commit is contained in:
2026-04-22 23:27:31 -05:00
parent 6761ae499b
commit 0cda948323
2 changed files with 2 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ public class UsersController : ControllerBase {
}
[Authorize(Policy = Permission.SensitiveData_Modify)]
[HttpDelete("{id}/permission")]
[HttpDelete("{id}/{permission}")]
public async Task<ActionResult> removePermission(string id, string permission) {
var userId = User.FindFirstValue(ClaimTypes.NameIdentifier);