mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
Replace == null with is null
This commit is contained in:
@@ -402,7 +402,7 @@ namespace Jellyfin.Api.Controllers
|
||||
{
|
||||
var user = _userManager.GetUserById(userId);
|
||||
|
||||
if (user == null)
|
||||
if (user is null)
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
@@ -411,7 +411,7 @@ namespace Jellyfin.Api.Controllers
|
||||
? _libraryManager.GetUserRootFolder()
|
||||
: _libraryManager.GetItemById(itemId);
|
||||
|
||||
if (item == null)
|
||||
if (item is null)
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user