mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
Remove all using for HttpClient
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user