Update SqliteItemRepository.cs - incorporate review suggestion

Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
elfalem 2024-09-25 20:05:00 -04:00 committed by GitHub
parent dafd186410
commit 8499be23cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")}"%""");
}