aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data
diff options
context:
space:
mode:
authorelfalem <elfalem@users.noreply.github.com>2024-09-25 20:05:00 -0400
committerGitHub <noreply@github.com>2024-09-25 20:05:00 -0400
commit8499be23ccfbe1b7eed6768d3ea634a6eed05217 (patch)
treee2cbb931d1959a4ea07630a425f37af2f1a4fec2 /Emby.Server.Implementations/Data
parentdafd1864104afe8d9bb8f20cf8bf40931a0417f1 (diff)
Update SqliteItemRepository.cs - incorporate review suggestion
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Emby.Server.Implementations/Data')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 5598c81dc..3da925f93 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")}"%""");
}