diff options
| author | crobibero <cody@robibe.ro> | 2020-04-23 10:07:21 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-04-23 10:07:21 -0600 |
| commit | 311f2e2bc317cea7ac4d4cc783b961793bb997d5 (patch) | |
| tree | dead9bacdc32e2f2b5ecd462eb2ee8aa49259765 /Jellyfin.Api/Controllers/DisplayPreferencesController.cs | |
| parent | 1223eb5a2285c48f50b07fb5aa2c463928b69afe (diff) | |
Fix Authorize attributes
Diffstat (limited to 'Jellyfin.Api/Controllers/DisplayPreferencesController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/DisplayPreferencesController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs index 42e87edd6..0d375e668 100644 --- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs +++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs @@ -2,9 +2,9 @@ using System.ComponentModel.DataAnnotations; using System.Threading; -using MediaBrowser.Controller.Net; using MediaBrowser.Controller.Persistence; using MediaBrowser.Model.Entities; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; @@ -14,7 +14,7 @@ namespace Jellyfin.Api.Controllers /// <summary> /// Display Preferences Controller. /// </summary> - [Authenticated] + [Authorize] public class DisplayPreferencesController : BaseJellyfinApiController { private readonly IDisplayPreferencesRepository _displayPreferencesRepository; |
