diff options
| author | Patrick Barron <18354464+barronpm@users.noreply.github.com> | 2020-06-23 01:33:13 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-23 01:33:13 +0000 |
| commit | 57bf8c17d62d58aa0f09c86da2c2a232e20dbbd6 (patch) | |
| tree | 3f88453265917bea00e13270ce663ce6698fc127 /Jellyfin.Api/Controllers/VideosController.cs | |
| parent | 68e89be3494eb4d348f464bfcd8c07b49ddaca21 (diff) | |
| parent | 5c6e9f4db58883db43055cd37b2cecd9fa2c12b2 (diff) | |
Merge pull request #3420 from Ullmie02/api-missing-policy
Add missing authorization policies (new Web Api)
Diffstat (limited to 'Jellyfin.Api/Controllers/VideosController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/VideosController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/VideosController.cs b/Jellyfin.Api/Controllers/VideosController.cs index 532ce59c5..effe630a9 100644 --- a/Jellyfin.Api/Controllers/VideosController.cs +++ b/Jellyfin.Api/Controllers/VideosController.cs @@ -51,7 +51,7 @@ namespace Jellyfin.Api.Controllers /// <response code="200">Additional parts returned.</response> /// <returns>A <see cref="QueryResult{BaseItemDto}"/> with the parts.</returns> [HttpGet("{itemId}/AdditionalParts")] - [Authorize] + [Authorize(Policy = Policies.DefaultAuthorization)] [ProducesResponseType(StatusCodes.Status200OK)] public ActionResult<QueryResult<BaseItemDto>> GetAdditionalPart([FromRoute] Guid itemId, [FromQuery] Guid userId) { |
