Convert polixy declaration for 10.8

This commit is contained in:
TwistedUmbrellaX 2024-08-08 04:58:50 -04:00
parent 71f1148f07
commit e619114ec3

View File

@ -56,7 +56,7 @@ public class SkipIntroController : ControllerBase
/// <response code="204">New timestamps saved.</response> /// <response code="204">New timestamps saved.</response>
/// <response code="404">Given ID is not an Episode.</response> /// <response code="404">Given ID is not an Episode.</response>
/// <returns>No content.</returns> /// <returns>No content.</returns>
[Authorize(Policy = Policies.RequiresElevation)] [Authorize(Policy = "RequiresElevation")]
[HttpPost("Episode/{Id}/Timestamps")] [HttpPost("Episode/{Id}/Timestamps")]
public ActionResult UpdateTimestamps([FromRoute] Guid id, [FromBody] TimeStamps timestamps) public ActionResult UpdateTimestamps([FromRoute] Guid id, [FromBody] TimeStamps timestamps)
{ {