diff options
| author | crobibero <cody@robibe.ro> | 2020-08-16 09:47:08 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-16 09:47:08 -0600 |
| commit | 8ddcd12348da48c8a07a7f897c014974995af6d9 (patch) | |
| tree | deea84f8be3e87378794cda83187ef55a9189f2c /Jellyfin.Api/Controllers/LiveTvController.cs | |
| parent | 97fd11c9a43c136badf2d35945bbe50ffaaa6a85 (diff) | |
Remove all using for HttpClient
Diffstat (limited to 'Jellyfin.Api/Controllers/LiveTvController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LiveTvController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LiveTvController.cs b/Jellyfin.Api/Controllers/LiveTvController.cs index bce74b780..2838361d7 100644 --- a/Jellyfin.Api/Controllers/LiveTvController.cs +++ b/Jellyfin.Api/Controllers/LiveTvController.cs @@ -1069,7 +1069,7 @@ namespace Jellyfin.Api.Controllers [ProducesResponseType(StatusCodes.Status200OK)] public async Task<ActionResult> GetSchedulesDirectCountries() { - using var client = _httpClientFactory.CreateClient(); + var client = _httpClientFactory.CreateClient(); // https://json.schedulesdirect.org/20141201/available/countries var response = await client.GetAsync("https://json.schedulesdirect.org/20141201/available/countries") .ConfigureAwait(false); |
