aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Collections/CollectionManager.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-10-25 12:47:20 +0200
committerBond_009 <bond.009@outlook.com>2019-11-22 16:15:31 +0100
commitb477b3874ef8d79a1e27f8bb298d38443c3ec425 (patch)
tree9e2ce5032892e4c590cab63269081c413cbfdac7 /Emby.Server.Implementations/Collections/CollectionManager.cs
parent7846e9cb3cce026b81509454c8128cc7ca17c2f8 (diff)
Fix some warnings
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 6d414be73..c5a77ce5b 100644
--- a/Emby.Server.Implementations/Collections/CollectionManager.cs
+++ b/Emby.Server.Implementations/Collections/CollectionManager.cs
@@ -121,7 +121,7 @@ namespace Emby.Server.Implementations.Collections
// This could cause it to get re-resolved as a plain folder
var folderName = _fileSystem.GetValidFilename(name) + " [boxset]";
- var parentFolder = GetCollectionsFolder(true).Result;
+ var parentFolder = GetCollectionsFolder(true).GetAwaiter().GetResult();
if (parentFolder == null)
{