mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Added the testing notifications and discord notification #865
This commit is contained in:
parent
5970ee963d
commit
d73899fc53
29 changed files with 487 additions and 202 deletions
|
@ -27,6 +27,7 @@ using Ombi.Settings.Settings;
|
|||
using Ombi.Store.Context;
|
||||
using Ombi.Store.Repository;
|
||||
using Ombi.Core.Rules;
|
||||
using Ombi.Notifications.Agents;
|
||||
using Ombi.Schedule.Jobs.Radarr;
|
||||
|
||||
namespace Ombi.DependencyInjection
|
||||
|
@ -84,7 +85,11 @@ namespace Ombi.DependencyInjection
|
|||
services.AddTransient<IRequestServiceMain, RequestService>();
|
||||
services.AddTransient(typeof(IRequestService<>), typeof(JsonRequestService<>));
|
||||
services.AddSingleton<INotificationService, NotificationService>();
|
||||
services.AddSingleton<INotificationHelper, NotificationHelper>();
|
||||
services.AddTransient<INotificationHelper, NotificationHelper>();
|
||||
|
||||
|
||||
services.AddTransient<IDiscordNotification, DiscordNotification>();
|
||||
services.AddTransient<IEmailNotification, EmailNotification>();
|
||||
}
|
||||
|
||||
public static void RegisterJobs(this IServiceCollection services)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue