Update SqliteItemRepository.cs - incorporate review suggestion

Co-authored-by: Bond-009 <bond.009@outlook.com>
pull/12700/head
elfalem 6 months ago committed by GitHub
parent dafd186410
commit 8499be23cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save