aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-04-19 12:56:16 -0600
committercrobibero <cody@robibe.ro>2020-04-19 12:56:16 -0600
commite6b873f2aeadd01ed4638148be857ddf45a33576 (patch)
treea16b91957be4b650110b766cd51f7b56662cbc13
parent60607ab60c3051815179859adfd2a7182f9ceb9a (diff)
Fix missing attributes
-rw-r--r--Jellyfin.Api/Controllers/DisplayPreferencesController.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
index 2c4072b39..0fbdcb6b8 100644
--- a/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
+++ b/Jellyfin.Api/Controllers/DisplayPreferencesController.cs
@@ -1,6 +1,9 @@
+#nullable enable
+
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading;
+using MediaBrowser.Controller.Net;
using MediaBrowser.Controller.Persistence;
using MediaBrowser.Model.Entities;
using Microsoft.AspNetCore.Http;
@@ -12,6 +15,7 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// Display Preferences Controller.
/// </summary>
+ [Authenticated]
public class DisplayPreferencesController : BaseJellyfinApiController
{
private readonly IDisplayPreferencesRepository _displayPreferencesRepository;