mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 21:38:27 +01:00
Replace == null with is null
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Emby.Server.Implementations.TV
|
||||
{
|
||||
var user = _userManager.GetUserById(query.UserId);
|
||||
|
||||
if (user == null)
|
||||
if (user is null)
|
||||
{
|
||||
throw new ArgumentException("User not found");
|
||||
}
|
||||
@@ -86,7 +86,7 @@ namespace Emby.Server.Implementations.TV
|
||||
{
|
||||
var user = _userManager.GetUserById(request.UserId);
|
||||
|
||||
if (user == null)
|
||||
if (user is null)
|
||||
{
|
||||
throw new ArgumentException("User not found");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user