Skip to content

Commit

Permalink
Merge pull request #52 from tidusjar/Hotfix-1
Browse files Browse the repository at this point in the history
Update AvailabilityUpdateService.cs
  • Loading branch information
Jamie committed Mar 20, 2016
2 parents 14d4f6f + 08cfc31 commit c22a9cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PlexRequests.Services/AvailabilityUpdateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public AvailabilityUpdateService()
{
ConfigurationReader = new ConfigurationReader();
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);
}

Expand Down Expand Up @@ -82,4 +82,4 @@ public interface IAvailabilityUpdateService
{
void Start(Configuration c);
}
}
}

0 comments on commit c22a9cb

Please sign in to comment.