diff --git a/PlexRequests.Services/AvailabilityUpdateService.cs b/PlexRequests.Services/AvailabilityUpdateService.cs index a8bd6f336..0774307e6 100644 --- a/PlexRequests.Services/AvailabilityUpdateService.cs +++ b/PlexRequests.Services/AvailabilityUpdateService.cs @@ -50,7 +50,7 @@ public AvailabilityUpdateService() { ConfigurationReader = new ConfigurationReader(); var repo = new SettingsJsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider()); - Checker = new PlexAvailabilityChecker(new SettingsServiceV2(repo), new SettingsServiceV2(repo), new RequestService(new GenericRepository(new DbConfiguration(new SqliteFactory()))), new PlexApi()); + Checker = new PlexAvailabilityChecker(new SettingsServiceV2(repo), new SettingsServiceV2(repo), new JsonRequestService(new RequestJsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider())), new PlexApi()); HostingEnvironment.RegisterObject(this); } @@ -82,4 +82,4 @@ public interface IAvailabilityUpdateService { void Start(Configuration c); } -} \ No newline at end of file +}