#1462 #865 Had to refactor how we use notificaitons. So we now have more notification fields about the request

This commit is contained in:
Jamie.Rees 2017-07-05 13:04:26 +01:00
parent b69b322bd5
commit b52a57b117
21 changed files with 256 additions and 112 deletions

View file

@ -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)