diff options
| author | crobibero <cody@robibe.ro> | 2020-06-03 09:38:49 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-03 09:38:49 -0600 |
| commit | 88b6c26472ad57822d3ab79a043db259ffcbb0e3 (patch) | |
| tree | 373e34253736a9d70bf252f0d0e2f76a4b66a5ba /Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs | |
| parent | e02cc8da53ff76a17de52a18ad83e73a1caa6394 (diff) | |
| parent | ab4597958afddb91904c29f5583395ab40918dcb (diff) | |
Merge remote-tracking branch 'remotes/upstream/api-migration' into api-channel
# Conflicts:
# Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
Diffstat (limited to 'Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs')
| -rw-r--r-- | Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs | 4 |
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 |
