diff options
| author | Patrick Barron <barronpm@gmail.com> | 2021-05-20 23:56:59 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2021-05-20 23:56:59 -0400 |
| commit | a0c6f7276211ac0429877fafa400368aba1430a9 (patch) | |
| tree | 498d9caa19eefdf9fd93fdb181535facde652417 /Jellyfin.Api/Controllers/CollectionController.cs | |
| parent | b03f2353d8bb023e659e735e12bd6230f07ca19c (diff) | |
Migrate authentication db to EF Core
Diffstat (limited to 'Jellyfin.Api/Controllers/CollectionController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/CollectionController.cs | 2 |
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 { |
