Skip to content

The Free Software Media System - Server Backend & API

Update SqliteItemRepository.cs - incorporate review suggestion

elfalem8499be23ccfb
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 5598c81dcc..3da925f937 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -4224,7 +4224,7 @@ namespace Emby.Server.Implementations.Data
statement.TryBind(paramName + index, GetCleanValue(query.IncludeInheritedTags[index]));
}
- if (query.User != null)
+ if (query.User is not null)
{
statement.TryBind("@PlaylistOwnerUserId", $"""%"OwnerUserId":"{query.User.Id.ToString("N")}"%""");
}