From c9ebddf27a389e31bc05a68331a9c2cade9fdb47 Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Wed, 9 Oct 2024 02:58:09 +0300 Subject: [PATCH] fix: remove cache for method --- Endpoint/Controllers/V1/AuthController.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Endpoint/Controllers/V1/AuthController.cs b/Endpoint/Controllers/V1/AuthController.cs index 81f0fdb..a7392a2 100644 --- a/Endpoint/Controllers/V1/AuthController.cs +++ b/Endpoint/Controllers/V1/AuthController.cs @@ -165,7 +165,6 @@ public class AuthController(IOptionsSnapshot user, AuthService auth, Pass [HttpGet("GetRole")] [ProducesResponseType(StatusCodes.Status401Unauthorized)] [Authorize] - [CacheMaxAge(0, 0, 1)] public ActionResult GetRole() => Ok(AuthRoles.Admin); [HttpPost("RenewPassword")]