Fix the api change in #450

This commit is contained in:
tidusjar 2016-08-02 12:10:49 +01:00
commit 4f71969ee5

View file

@ -83,6 +83,7 @@ namespace PlexRequests.Api
titleSlug = title, titleSlug = title,
seasons = new List<Season>(), seasons = new List<Season>(),
rootFolderPath = rootPath, rootFolderPath = rootPath,
monitored = monitor
}; };
for (var i = 1; i <= seasonCount; i++) for (var i = 1; i <= seasonCount; i++)
@ -95,11 +96,6 @@ namespace PlexRequests.Api
options.seasons.Add(season); options.seasons.Add(season);
} }
if (!monitor)
{
options.monitored = false;
}
Log.Debug("Sonarr API Options:"); Log.Debug("Sonarr API Options:");
Log.Debug(options.DumpJson()); Log.Debug(options.DumpJson());