aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Collections/CollectionManager.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-02-24 22:02:47 +0100
committerJoshua M. Boniface <joshua@boniface.me>2021-02-26 21:01:50 -0500
commitef864e24b9f1d1709db270f0a81e15eb91028665 (patch)
tree9e3604bf7bbdb338f4b360327d326c1c0a2d54cf /Emby.Server.Implementations/Collections/CollectionManager.cs
parentab054d6239b1f58ee7037cfbab8a38c8d06ae1c7 (diff)
Merge pull request #5301 from Bond-009/validinput
(cherry picked from commit 58609795007d4a5e4d9e94e92f7c82999ad8ad0a) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Diffstat (limited to 'Emby.Server.Implementations/Collections/CollectionManager.cs')
-rw-r--r--Emby.Server.Implementations/Collections/CollectionManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Collections/CollectionManager.cs b/Emby.Server.Implementations/Collections/CollectionManager.cs
index 3011a37e3..1ab2bdfbe 100644
--- a/Emby.Server.Implementations/Collections/CollectionManager.cs
+++ b/Emby.Server.Implementations/Collections/CollectionManager.cs
@@ -107,7 +107,7 @@ namespace Emby.Server.Implementations.Collections
var name = _localizationManager.GetLocalizedString("Collections");
- await _libraryManager.AddVirtualFolder(name, CollectionType.BoxSets, libraryOptions, true).ConfigureAwait(false);
+ await _libraryManager.AddVirtualFolder(name, CollectionTypeOptions.BoxSets, libraryOptions, true).ConfigureAwait(false);
return FindFolders(path).First();
}