aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-13 15:21:13 -0600
committercrobibero <cody@robibe.ro>2020-06-13 15:21:13 -0600
commit9ee6ea86ea12e177f620f3cae8d149b41475416a (patch)
tree05b09b609f0b3a72fd670d2bbcdc0c0975f8d36e /Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
parenta4455af3e90b440defb4da6de980f287b8a348c6 (diff)
parent0011e8df47380936742302ef40639a4626a780ed (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-localization
Diffstat (limited to 'Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs')
-rw-r--r--Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs b/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
index 989c8ecea..9b347ae2c 100644
--- a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
+++ b/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
@@ -12,7 +12,7 @@ namespace Jellyfin.Server.Formatters
/// <summary>
/// Initializes a new instance of the <see cref="CamelCaseJsonProfileFormatter"/> class.
/// </summary>
- public CamelCaseJsonProfileFormatter() : base(JsonDefaults.CamelCase)
+ public CamelCaseJsonProfileFormatter() : base(JsonDefaults.GetCamelCaseOptions())
{
SupportedMediaTypes.Clear();
SupportedMediaTypes.Add(MediaTypeHeaderValue.Parse("application/json;profile=\"CamelCase\""));