mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 08:16:05 -07:00
Fixed #1712
This commit is contained in:
parent
9a8bd096b5
commit
ab42723dc9
2 changed files with 21 additions and 1 deletions
|
@ -193,7 +193,11 @@ namespace Ombi.Core.Engine
|
|||
request.Denied = false;
|
||||
await MovieRepository.Update(request);
|
||||
|
||||
NotificationHelper.Notify(request, NotificationType.RequestApproved);
|
||||
var canNotify = await RunSpecificRule(request, SpecificRules.CanSendNotification);
|
||||
if (canNotify.Success)
|
||||
{
|
||||
NotificationHelper.Notify(request, NotificationType.RequestApproved);
|
||||
}
|
||||
|
||||
if (request.Approved)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue