pull/470/head
tidusjar 8 years ago
parent 0cfb6c8b1e
commit a82fdbc3bd

@ -69,9 +69,6 @@ namespace PlexRequests.UI.Helpers
sonarrSettings.SeasonFolders, sonarrSettings.RootPath, model.SeasonCount, model.SeasonList, sonarrSettings.ApiKey, sonarrSettings.SeasonFolders, sonarrSettings.RootPath, model.SeasonCount, model.SeasonList, sonarrSettings.ApiKey,
sonarrSettings.FullUri); sonarrSettings.FullUri);
Log.Trace("Sonarr Add Result: ");
Log.Trace(result.DumpJson());
return result; return result;
} }

@ -467,7 +467,7 @@ namespace PlexRequests.UI.Modules
else else
{ {
Log.Error("Could not approve and send the TV {0} to Sonarr!", r.Title); Log.Error("Could not approve and send the TV {0} to Sonarr!", r.Title);
res?.ErrorMessages.ForEach(x => Log.Error("Error messages: {0}", x)); res?.ErrorMessages?.ForEach(x => Log.Error("Error messages: {0}", x));
} }
} }
else else

@ -900,7 +900,7 @@ namespace PlexRequests.UI.Modules
return true; return true;
} }
return usersLimit.RequestCount >= requestLimit; return requestLimit >= usersLimit.RequestCount;
} }
private int GetRequestLimitForType(RequestType type, PlexRequestSettings s) private int GetRequestLimitForType(RequestType type, PlexRequestSettings s)

Loading…
Cancel
Save