Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/d703bc8dc5e044c276c218a6ee1aff5eee34ae3e You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fixed: SABnzbd test with fail if the API Key is wrong

pull/55/merge
Mark McDowall 11 years ago
parent 46f904d165
commit d703bc8dc5

@ -127,7 +127,7 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
var settings = new SabnzbdSettings();
settings.InjectFrom(message);
_sabnzbdProxy.GetVersion(settings);
_sabnzbdProxy.GetCategories(settings);
}
}
}

@ -85,12 +85,7 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
var request = new RestRequest();
var action = "mode=get_cats";
SabnzbdCategoryResponse response;
if (!Json.TryDeserialize<SabnzbdCategoryResponse>(ProcessRequest(request, action, settings), out response))
{
response = new SabnzbdCategoryResponse();
}
var response = Json.Deserialize<SabnzbdCategoryResponse>(ProcessRequest(request, action, settings));
return response;
}

Loading…
Cancel
Save