From 0317f61891d2d4d73019259cb2b326c35d50961f Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 9 Jun 2025 10:27:21 -0500 Subject: [PATCH] Update Controllers/PlayerController.cs --- Controllers/PlayerController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controllers/PlayerController.cs b/Controllers/PlayerController.cs index cf27e55..4707874 100644 --- a/Controllers/PlayerController.cs +++ b/Controllers/PlayerController.cs @@ -94,7 +94,7 @@ public class PlayerController : ControllerBase } [HttpPut] - [Authorize(Roles = "USER,SUPER")] + [Authorize(Roles = "SUPER")] public async Task Update([FromBody] UpdatePlayerRequest req) { var userId = User.FindFirstValue(ClaimTypes.NameIdentifier); @@ -109,7 +109,7 @@ public class PlayerController : ControllerBase } [HttpDelete] - [Authorize(Roles = "USER,SUPER")] + [Authorize(Roles = "SUPER")] public async Task Delete() { var userId = User.FindFirstValue(ClaimTypes.NameIdentifier);