diff options
| author | crobibero <cody@robibe.ro> | 2020-04-23 10:04:37 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-04-23 10:04:37 -0600 |
| commit | f3da5dc8b7fef7e5fdeddff941c6d99063a1fd97 (patch) | |
| tree | 4a4a28cc441dea7cc9cef785c9793192f792e654 | |
| parent | 466e20ea8cb8c262605d06dc01eff4463559d9b0 (diff) | |
Fix Authorize attributes
| -rw-r--r-- | Jellyfin.Api/Controllers/AttachmentsController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/AttachmentsController.cs b/Jellyfin.Api/Controllers/AttachmentsController.cs index 351401de1..b0cdfb86e 100644 --- a/Jellyfin.Api/Controllers/AttachmentsController.cs +++ b/Jellyfin.Api/Controllers/AttachmentsController.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using MediaBrowser.Common.Extensions; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.MediaEncoding; -using MediaBrowser.Controller.Net; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; @@ -16,7 +16,7 @@ namespace Jellyfin.Api.Controllers /// Attachments controller. /// </summary> [Route("Videos")] - [Authenticated] + [Authorize] public class AttachmentsController : Controller { private readonly ILibraryManager _libraryManager; |
