mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
oops #1134
This commit is contained in:
parent
a130abcc71
commit
beed3e858b
1 changed files with 2 additions and 4 deletions
|
@ -982,7 +982,7 @@ namespace Ombi.UI.Modules
|
||||||
return
|
return
|
||||||
Response.AsJson(new JsonResponseModel
|
Response.AsJson(new JsonResponseModel
|
||||||
{
|
{
|
||||||
Message = "Could not add movie, please contac your administrator",
|
Message = "Could not add movie, please contact your administrator",
|
||||||
Result = false
|
Result = false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1420,9 +1420,7 @@ namespace Ombi.UI.Modules
|
||||||
|
|
||||||
private bool ShouldSendNotification(RequestType type, PlexRequestSettings prSettings)
|
private bool ShouldSendNotification(RequestType type, PlexRequestSettings prSettings)
|
||||||
{
|
{
|
||||||
var sendNotification = ShouldAutoApprove(type)
|
var sendNotification = !ShouldAutoApprove(type) || !prSettings.IgnoreNotifyForAutoApprovedRequests;
|
||||||
? !prSettings.IgnoreNotifyForAutoApprovedRequests
|
|
||||||
: true;
|
|
||||||
|
|
||||||
if (IsAdmin)
|
if (IsAdmin)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue