Fixed the casting error #1292

This commit is contained in:
Jamie.Rees 2017-03-29 08:25:00 +01:00
parent 830c887d98
commit f7926f13b5
3 changed files with 11 additions and 5 deletions

View file

@ -100,5 +100,10 @@ namespace Ombi.Services.Notification
throw new InvalidOperationException(ex.Message);
}
}
public async Task PublishTest(NotificationModel model, Settings settings, INotification type)
{
await type.NotifyAsync(model, settings);
}
}
}