mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
deleted some old files. updated some ui
This commit is contained in:
@@ -25,13 +25,13 @@ namespace NzbDrone.Web.Controllers
|
||||
|
||||
public ActionResult ProcessEpisode(string apiKey, string dir, string nzbName, string category)
|
||||
{
|
||||
if (apiKey != _configProvider.GetValue("ApiKey", String.Empty, true))
|
||||
if (apiKey != _configProvider.ApiKey)
|
||||
{
|
||||
Logger.Warn("API Key from Post Processing Script is Invalid");
|
||||
return Content("Invalid API Key");
|
||||
}
|
||||
|
||||
if (_configProvider.GetValue("SabTvCategory", String.Empty, true) == category)
|
||||
if (_configProvider.SabTvCategory == category)
|
||||
{
|
||||
_postProcessingProvider.ProcessEpisode(dir, nzbName);
|
||||
return Content("ok");
|
||||
|
Reference in New Issue
Block a user