aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2026-03-11 21:20:14 +0100
committerBond_009 <bond.009@outlook.com>2026-03-11 21:22:48 +0100
commit946c6b9981145d73a6cd64fc6fbcbd6d5b6961ae (patch)
treed470d0232d738db9c334e1034035538a1370615b /Emby.Server.Implementations/Library
parent08f9ec5d376ff1bcb5d2a603fe03fc6d0ecbf268 (diff)
Return BadRequest when an invalid set of filters is given
Diffstat (limited to 'Emby.Server.Implementations/Library')
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index f7f5c387e..eee87c4d8 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -2289,7 +2289,7 @@ namespace Emby.Server.Implementations.Library
if (item is null)
{
- return new List<Folder>();
+ return [];
}
return GetCollectionFoldersInternal(item, allUserRootChildren);