diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-08-17 10:47:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-17 10:47:45 +0200 |
| commit | d0f49b39945424e5d2a8697ea551055ce26cf758 (patch) | |
| tree | a25e828a3ca4c22330ba58714cdb2e2a6b07866d /Jellyfin.Api/Controllers/AudioController.cs | |
| parent | 57cc08691a77b8c07d964fbe2f5a9fe056b21087 (diff) | |
| parent | 8da646e12b6122b3a73830eb9cbf3e39033d8ba3 (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.cs | 2 |
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); } |
