mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Fix policy for GetRemoteSubtitles
Other operations related to remote subtitles require the SubtitleManagement policy, so it only makes sense that this operation requires it too.
This commit is contained in:
parent
46071e4628
commit
3d7d0297fe
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class SubtitleController : BaseJellyfinApiController
|
|||
/// <response code="200">File returned.</response>
|
||||
/// <returns>A <see cref="FileStreamResult"/> with the subtitle file.</returns>
|
||||
[HttpGet("Providers/Subtitles/Subtitles/{subtitleId}")]
|
||||
[Authorize]
|
||||
[Authorize(Policy = Policies.SubtitleManagement)]
|
||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[Produces(MediaTypeNames.Application.Octet)]
|
||||
[ProducesFile("text/*")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue