Fix missing attributes

This commit is contained in:
crobibero 2020-04-19 12:56:16 -06:00
parent 60607ab60c
commit e6b873f2ae

View file

@ -1,6 +1,9 @@
#nullable enable
using System; using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.Threading; using System.Threading;
using MediaBrowser.Controller.Net;
using MediaBrowser.Controller.Persistence; using MediaBrowser.Controller.Persistence;
using MediaBrowser.Model.Entities; using MediaBrowser.Model.Entities;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
@ -12,6 +15,7 @@ namespace Jellyfin.Api.Controllers
/// <summary> /// <summary>
/// Display Preferences Controller. /// Display Preferences Controller.
/// </summary> /// </summary>
[Authenticated]
public class DisplayPreferencesController : BaseJellyfinApiController public class DisplayPreferencesController : BaseJellyfinApiController
{ {
private readonly IDisplayPreferencesRepository _displayPreferencesRepository; private readonly IDisplayPreferencesRepository _displayPreferencesRepository;