mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
Fixed #438
This commit is contained in:
parent
0cfb6c8b1e
commit
a82fdbc3bd
4 changed files with 547 additions and 550 deletions
|
@ -69,9 +69,6 @@ namespace PlexRequests.UI.Helpers
|
|||
sonarrSettings.SeasonFolders, sonarrSettings.RootPath, model.SeasonCount, model.SeasonList, sonarrSettings.ApiKey,
|
||||
sonarrSettings.FullUri);
|
||||
|
||||
Log.Trace("Sonarr Add Result: ");
|
||||
Log.Trace(result.DumpJson());
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -467,7 +467,7 @@ namespace PlexRequests.UI.Modules
|
|||
else
|
||||
{
|
||||
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
|
||||
|
|
|
@ -900,7 +900,7 @@ namespace PlexRequests.UI.Modules
|
|||
return true;
|
||||
}
|
||||
|
||||
return usersLimit.RequestCount >= requestLimit;
|
||||
return requestLimit >= usersLimit.RequestCount;
|
||||
}
|
||||
|
||||
private int GetRequestLimitForType(RequestType type, PlexRequestSettings s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue