Convert polixy declaration for 10.8
This commit is contained in:
parent
71f1148f07
commit
e619114ec3
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user