aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/AudioController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-08-17 10:47:45 +0200
committerGitHub <noreply@github.com>2020-08-17 10:47:45 +0200
commitd0f49b39945424e5d2a8697ea551055ce26cf758 (patch)
treea25e828a3ca4c22330ba58714cdb2e2a6b07866d /Jellyfin.Api/Controllers/AudioController.cs
parent57cc08691a77b8c07d964fbe2f5a9fe056b21087 (diff)
parent8da646e12b6122b3a73830eb9cbf3e39033d8ba3 (diff)
Merge pull request #3895 from crobibero/httpclient
Remove IHttpClient from Jellyfin.Api
Diffstat (limited to 'Jellyfin.Api/Controllers/AudioController.cs')
-rw-r--r--Jellyfin.Api/Controllers/AudioController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/AudioController.cs b/Jellyfin.Api/Controllers/AudioController.cs
index 4de87616c..fb3f09ba6 100644
--- a/Jellyfin.Api/Controllers/AudioController.cs
+++ b/Jellyfin.Api/Controllers/AudioController.cs
@@ -295,7 +295,7 @@ namespace Jellyfin.Api.Controllers
{
StreamingHelpers.AddDlnaHeaders(state, Response.Headers, true, startTimeTicks, Request, _dlnaManager);
- using var httpClient = _httpClientFactory.CreateClient();
+ var httpClient = _httpClientFactory.CreateClient();
return await FileStreamResponseHelpers.GetStaticRemoteStreamResult(state, isHeadRequest, this, httpClient).ConfigureAwait(false);
}