diff options
| author | crobibero <cody@robibe.ro> | 2020-04-23 10:04:37 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-05-19 08:55:15 -0600 |
| commit | 177339e8d5f3ad9eea6a3d6cd068e58d637e443d (patch) | |
| tree | 8f956da9f5bccd8ed3f868b8fdb9e3d2b11574fc | |
| parent | 15e9fbb923b8aa91692cd9c8c68ec7dde638c1e2 (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; |
