mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-15 21:43:03 +03:00
Replace == null with is null
This commit is contained in:
@@ -96,7 +96,7 @@ namespace Jellyfin.Api.Controllers
|
||||
var configurationType = _configurationManager.GetConfigurationType(key);
|
||||
var deserializedConfiguration = configuration.Deserialize(configurationType, _serializerOptions);
|
||||
|
||||
if (deserializedConfiguration == null)
|
||||
if (deserializedConfiguration is null)
|
||||
{
|
||||
throw new ArgumentException("Body doesn't contain a valid configuration");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user