aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/StartupController.cs
diff options
context:
space:
mode:
authorClaus Vium <clausvium@gmail.com>2019-11-24 19:25:46 +0100
committerClaus Vium <clausvium@gmail.com>2019-11-24 19:25:46 +0100
commit47a4f2f387825d9c249c53b3796a43e3eac52b58 (patch)
tree7c6dd55ccb23b400f5ebb70e320f51f9625157ca /Jellyfin.Api/Controllers/StartupController.cs
parent2af5922af06c865d676e817112ef76a92a23e1b6 (diff)
Fix more review comments
Diffstat (limited to 'Jellyfin.Api/Controllers/StartupController.cs')
-rw-r--r--Jellyfin.Api/Controllers/StartupController.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/StartupController.cs b/Jellyfin.Api/Controllers/StartupController.cs
index 50f3dc83c..1014c8c56 100644
--- a/Jellyfin.Api/Controllers/StartupController.cs
+++ b/Jellyfin.Api/Controllers/StartupController.cs
@@ -1,5 +1,6 @@
using System.Linq;
using System.Threading.Tasks;
+using Jellyfin.Api.Constants;
using Jellyfin.Api.Models.StartupDtos;
using MediaBrowser.Controller.Configuration;
using MediaBrowser.Controller.Library;
@@ -11,7 +12,7 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// The startup wizard controller.
/// </summary>
- [Authorize(Policy = "FirstTimeSetupOrElevated")]
+ [Authorize(Policy = Policies.FirstTimeSetupOrElevated)]
public class StartupController : BaseJellyfinApiController
{
private readonly IServerConfigurationManager _config;