mirror of
https://github.com/Radarr/Radarr
synced 2025-03-17 17:25:42 +00:00
DailySeries uses new endpoint
This commit is contained in:
parent
67555db685
commit
cb6c8729b1
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ namespace NzbDrone.Core.DataAugmentation.DailySeries
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var dailySeriesIds = _httpProvider.DownloadString(Services.RootUrl + "/DailySeries/AllIds");
|
var dailySeriesIds = _httpProvider.DownloadString(Services.RootUrl + "/v1/DailySeries");
|
||||||
|
|
||||||
var seriesIds = Json.Deserialize<List<int>>(dailySeriesIds);
|
var seriesIds = Json.Deserialize<List<int>>(dailySeriesIds);
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ namespace NzbDrone.Core.DataAugmentation.DailySeries
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var result = _httpProvider.DownloadString(Services.RootUrl + "/DailySeries/Check?seriesId=" + tvdbid);
|
var result = _httpProvider.DownloadString(Services.RootUrl + "/v1/DailySeries?seriesId=" + tvdbid);
|
||||||
return Convert.ToBoolean(result);
|
return Convert.ToBoolean(result);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
Loading…
Add table
Reference in a new issue