mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Merge pull request #52 from tidusjar/Hotfix-1
Update AvailabilityUpdateService.cs
This commit is contained in:
commit
c22a9cba26
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ namespace PlexRequests.Services
|
||||||
{
|
{
|
||||||
ConfigurationReader = new ConfigurationReader();
|
ConfigurationReader = new ConfigurationReader();
|
||||||
var repo = new SettingsJsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider());
|
var repo = new SettingsJsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider());
|
||||||
Checker = new PlexAvailabilityChecker(new SettingsServiceV2<PlexSettings>(repo), new SettingsServiceV2<AuthenticationSettings>(repo), new RequestService(new GenericRepository<RequestedModel>(new DbConfiguration(new SqliteFactory()))), new PlexApi());
|
Checker = new PlexAvailabilityChecker(new SettingsServiceV2<PlexSettings>(repo), new SettingsServiceV2<AuthenticationSettings>(repo), new JsonRequestService(new RequestJsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider())), new PlexApi());
|
||||||
HostingEnvironment.RegisterObject(this);
|
HostingEnvironment.RegisterObject(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue