mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-24 16:53:54 +00:00
Register Common providers
This commit is contained in:
parent
05aed27923
commit
ca94a3de3d
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ namespace NzbDrone.Update
|
||||||
Console.WriteLine("Starting NzbDrone Update Client");
|
Console.WriteLine("Starting NzbDrone Update Client");
|
||||||
var builder = new ContainerBuilder();
|
var builder = new ContainerBuilder();
|
||||||
builder.RegisterAssemblyTypes(typeof(UpdateProvider).Assembly).SingleInstance();
|
builder.RegisterAssemblyTypes(typeof(UpdateProvider).Assembly).SingleInstance();
|
||||||
|
builder.RegisterAssemblyTypes(typeof(RestProvider).Assembly).SingleInstance();
|
||||||
_container = builder.Build();
|
_container = builder.Build();
|
||||||
InitLoggers();
|
InitLoggers();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue