Remove all using for HttpClient

This commit is contained in:
crobibero
2020-08-16 09:47:08 -06:00
parent 97fd11c9a4
commit 8ddcd12348
4 changed files with 4 additions and 4 deletions

View File

@@ -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);