Skip to content

Commit

Permalink
fix jellyfin#11318 by editing the delete endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ch1nkara committed May 7, 2024
1 parent aaa4287 commit 9731be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jellyfin.Api/Controllers/SubtitleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class SubtitleController : BaseJellyfinApiController
/// <response code="404">Item not found.</response>
/// <returns>A <see cref="NoContentResult"/>.</returns>
[HttpDelete("Videos/{itemId}/Subtitles/{index}")]
[Authorize(Policy = Policies.RequiresElevation)]
[Authorize(Policy = Policies.SubtitleManagement)]
[ProducesResponseType(StatusCodes.Status204NoContent)]
[ProducesResponseType(StatusCodes.Status404NotFound)]
public async Task<ActionResult> DeleteSubtitle(
Expand Down

0 comments on commit 9731be0

Please sign in to comment.