aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SubtitleController.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/SubtitleController.cs
parent048c478b0d9fbad3c7e6ef7fcbf8e6c2b91fc013 (diff)
parente229f6d9bb2df96bfe405a3b05e17000700e6806 (diff)
Merge branch 'master' into bug/authorization-header-issue
Diffstat (limited to 'Jellyfin.Api/Controllers/SubtitleController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SubtitleController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SubtitleController.cs b/Jellyfin.Api/Controllers/SubtitleController.cs
index b473574e0..11f67ee89 100644
--- a/Jellyfin.Api/Controllers/SubtitleController.cs
+++ b/Jellyfin.Api/Controllers/SubtitleController.cs
@@ -361,7 +361,7 @@ namespace Jellyfin.Api.Controllers
long positionTicks = 0;
- var accessToken = _authContext.GetAuthorizationInfo(Request).Token;
+ var accessToken = (await _authContext.GetAuthorizationInfo(Request).ConfigureAwait(false)).Token;
while (positionTicks < runtime)
{