mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Moved the update check code from the External azure service into Ombi at /api/v1/update/BRANCH
This commit is contained in:
parent
1e1ec436af
commit
498c019f5d
11 changed files with 516 additions and 9 deletions
|
@ -50,8 +50,10 @@ using Ombi.Store.Repository.Requests;
|
|||
using Ombi.Updater;
|
||||
using PlexContentCacher = Ombi.Schedule.Jobs.Plex;
|
||||
using Ombi.Api.Telegram;
|
||||
using Ombi.Core.Processor;
|
||||
using Ombi.Schedule.Jobs.Plex.Interfaces;
|
||||
using Ombi.Schedule.Jobs.SickRage;
|
||||
using Ombi.Schedule.Processor;
|
||||
|
||||
namespace Ombi.DependencyInjection
|
||||
{
|
||||
|
@ -107,6 +109,7 @@ namespace Ombi.DependencyInjection
|
|||
services.AddTransient<ITelegramApi, TelegramApi>();
|
||||
services.AddTransient<IGithubApi, GithubApi>();
|
||||
services.AddTransient<ISickRageApi, SickRageApi>();
|
||||
services.AddTransient<IAppVeyorApi, AppVeyorApi>();
|
||||
}
|
||||
|
||||
public static void RegisterStore(this IServiceCollection services) {
|
||||
|
@ -143,6 +146,7 @@ namespace Ombi.DependencyInjection
|
|||
services.AddTransient<IMattermostNotification, MattermostNotification>();
|
||||
services.AddTransient<IPushoverNotification, PushoverNotification>();
|
||||
services.AddTransient<ITelegramNotification, TelegramNotification>();
|
||||
services.AddTransient<IChangeLogProcessor, ChangeLogProcessor>();
|
||||
}
|
||||
|
||||
public static void RegisterJobs(this IServiceCollection services)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue