mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Remove StringEnumConverter
This commit is contained in:
@@ -80,9 +80,6 @@ namespace Jellyfin.Server.Extensions
|
||||
{
|
||||
// Setting the naming policy to null leaves the property names as-is when serializing objects to JSON.
|
||||
options.JsonSerializerOptions.PropertyNamingPolicy = null;
|
||||
|
||||
// Accept string enums
|
||||
options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
|
||||
})
|
||||
.AddControllersAsServices();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user