mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 08:15:28 +03:00
Replace == null with is null
This commit is contained in:
@@ -104,7 +104,7 @@ namespace Jellyfin.Api.Controllers
|
||||
|
||||
if (validatePathDto.ValidateWritable)
|
||||
{
|
||||
if (validatePathDto.Path == null)
|
||||
if (validatePathDto.Path is null)
|
||||
{
|
||||
throw new ResourceNotFoundException(nameof(validatePathDto.Path));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user