mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
#1462 #865 Had to refactor how we use notificaitons. So we now have more notification fields about the request
This commit is contained in:
parent
b69b322bd5
commit
b52a57b117
21 changed files with 256 additions and 112 deletions
|
@ -293,9 +293,9 @@ namespace Ombi.Core.Engine
|
|||
|
||||
private Task<RequestEngineResult> AfterRequest(ChildRequests model)
|
||||
{
|
||||
if (ShouldSendNotification(RequestType.TvShow))
|
||||
if (ShouldSendNotification(model))
|
||||
{
|
||||
//NotificationHelper.NewRequest(model.ParentRequest);
|
||||
NotificationHelper.NewRequest(model);
|
||||
}
|
||||
|
||||
if(model.Approved)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue