diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-11-15 14:35:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-15 14:35:34 -0500 |
| commit | 2f426dfc97677deffb60420078b20a7f5f03977e (patch) | |
| tree | 89772dd894e735d657522105a29884d2117a5bfa /Jellyfin.Api/Controllers/LiveTvController.cs | |
| parent | 7caf1662eca2ea8826f3277e8b9d5c8c782fd03d (diff) | |
| parent | 056c44010b437b0f718cb10b1ed66a7f38d61874 (diff) | |
Merge pull request #4458 from crobibero/dotnet-5
Upgrade to Net5
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 458f40b2d..29c0f1df4 100644 --- a/Jellyfin.Api/Controllers/LiveTvController.cs +++ b/Jellyfin.Api/Controllers/LiveTvController.cs @@ -1073,7 +1073,7 @@ namespace Jellyfin.Api.Controllers var client = _httpClientFactory.CreateClient(NamedClient.Default); // https://json.schedulesdirect.org/20141201/available/countries // Can't dispose the response as it's required up the call chain. - var response = await client.GetAsync("https://json.schedulesdirect.org/20141201/available/countries") + var response = await client.GetAsync(new Uri("https://json.schedulesdirect.org/20141201/available/countries")) .ConfigureAwait(false); return File(await response.Content.ReadAsStreamAsync().ConfigureAwait(false), MediaTypeNames.Application.Json); |
