mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-05 07:18:47 +01:00
Move some arrays to generics
This commit is contained in:
@@ -70,7 +70,7 @@ namespace Emby.Server.Implementations.Services
|
||||
response.ContentType = defaultContentType;
|
||||
}
|
||||
|
||||
if (new HashSet<string> { "application/json", }.Contains(response.ContentType))
|
||||
if (response.ContentType == "application/json")
|
||||
{
|
||||
response.ContentType += "; charset=utf-8";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user