From e619114ec39df868b106be23a77bb2ed6b128093 Mon Sep 17 00:00:00 2001 From: TwistedUmbrellaX Date: Thu, 8 Aug 2024 04:58:50 -0400 Subject: [PATCH] Convert polixy declaration for 10.8 --- .../Controllers/SkipIntroController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/SkipIntroController.cs b/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/SkipIntroController.cs index e81333f..f109d3c 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/SkipIntroController.cs +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Controllers/SkipIntroController.cs @@ -56,7 +56,7 @@ public class SkipIntroController : ControllerBase /// New timestamps saved. /// Given ID is not an Episode. /// No content. - [Authorize(Policy = Policies.RequiresElevation)] + [Authorize(Policy = "RequiresElevation")] [HttpPost("Episode/{Id}/Timestamps")] public ActionResult UpdateTimestamps([FromRoute] Guid id, [FromBody] TimeStamps timestamps) {