aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-06 17:07:29 -0600
committercrobibero <cody@robibe.ro>2020-06-06 17:07:29 -0600
commit6be862545ae76eb454b91601f08745e7b46dcd28 (patch)
treeda127ccd6434465929458bd4afd212c1aa164c08 /Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
parent2476848dd3d69252c5bc8b45a4eddf545354a0c0 (diff)
parent601e4a88c94ea0ccaab9f3c148d4bbdca2e532ee (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-cors
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