aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-12 14:35:51 -0600
committercrobibero <cody@robibe.ro>2020-06-12 14:35:51 -0600
commit2fe65d99f6886d607d618903ac03f7474ce68df0 (patch)
tree681efab6ef8fdbffc8b8ddb3e09bc811c733a10d /Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
parentdfe873fc293cf940a4f3d25aacdc8dfc53f150dc (diff)
parent6429e60c408c0b88edee6745c5c9c14faade3c9d (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-swagger-auth
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