aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-06-07 15:34:31 +0900
committerGitHub <noreply@github.com>2020-06-07 15:34:31 +0900
commitf7f59fe9a37369255961d8e186f50a855f9409ab (patch)
tree24296322167a98c02df3ee772ae50ec4e24eebf0 /Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
parent9f0b5f347a9b7eeff1d0b079ceee42bc781aed7a (diff)
parent601e4a88c94ea0ccaab9f3c148d4bbdca2e532ee (diff)
Merge branch 'api-migration' into api-config-json
Diffstat (limited to 'Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs')
-rw-r--r--Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs b/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
index 675f4c79e..69963b3fb 100644
--- a/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
+++ b/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
@@ -1,4 +1,4 @@
-using Jellyfin.Server.Models;
+using MediaBrowser.Common.Json;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
@@ -12,7 +12,7 @@ namespace Jellyfin.Server.Formatters
/// <summary>
/// Initializes a new instance of the <see cref="PascalCaseJsonProfileFormatter"/> class.
/// </summary>
- public PascalCaseJsonProfileFormatter() : base(JsonOptions.PascalCase)
+ public PascalCaseJsonProfileFormatter() : base(JsonDefaults.PascalCase)
{
SupportedMediaTypes.Clear();
// Add application/json for default formatter