aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/CollectionController.cs
diff options
context:
space:
mode:
authorcvium <clausvium@gmail.com>2021-09-03 21:33:41 +0200
committercvium <clausvium@gmail.com>2021-09-03 21:33:41 +0200
commit6b3ecf25337d230a680ed83623bf7a40224b4873 (patch)
tree42a6a3b3b6fba787d7a67c91b4d91e04c5b1d01a /Jellyfin.Api/Controllers/CollectionController.cs
parent048c478b0d9fbad3c7e6ef7fcbf8e6c2b91fc013 (diff)
parente229f6d9bb2df96bfe405a3b05e17000700e6806 (diff)
Merge branch 'master' into bug/authorization-header-issue
Diffstat (limited to 'Jellyfin.Api/Controllers/CollectionController.cs')
-rw-r--r--Jellyfin.Api/Controllers/CollectionController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/CollectionController.cs b/Jellyfin.Api/Controllers/CollectionController.cs
index 852d1e9cb..8a98d856c 100644
--- a/Jellyfin.Api/Controllers/CollectionController.cs
+++ b/Jellyfin.Api/Controllers/CollectionController.cs
@@ -58,7 +58,7 @@ namespace Jellyfin.Api.Controllers
[FromQuery] Guid? parentId,
[FromQuery] bool isLocked = false)
{
- var userId = _authContext.GetAuthorizationInfo(Request).UserId;
+ var userId = (await _authContext.GetAuthorizationInfo(Request).ConfigureAwait(false)).UserId;
var item = await _collectionManager.CreateCollectionAsync(new CollectionCreationOptions
{