Skip to content

Commit

Permalink
Change IoC
Browse files Browse the repository at this point in the history
  • Loading branch information
cultpodcasts committed Jan 12, 2025
1 parent 864491a commit 018d450
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ public static class ServiceCollectionExtensions
public static IServiceCollection AddPodcastServices(this IServiceCollection services)
{
return services
.AddScoped<IFlushable, CacheFlusher>()
.AddScoped<IPodcastsUpdater, PodcastsUpdater>()
.AddScoped<IPodcastUpdater, PodcastUpdater>()
.AddScoped<INonPodcastServiceCategoriser, NonPodcastServiceCategoriser>()
Expand Down
1 change: 0 additions & 1 deletion Cloud/Indexer/Ioc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public static void ConfigureServices(
.AddScoped(s => new iTunesSearchManager())
.AddEliminationTerms()
.AddRedditServices()
.AddScoped<IFlushable, CacheFlusher>()
.AddTwitterServices()
.AddBlueskyServices()
.AddSubjectServices()
Expand Down
1 change: 0 additions & 1 deletion Console-Apps/RedditPodcastPoster/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
.AddScoped(s => new iTunesSearchManager())
.AddEliminationTerms()
.AddRedditServices()
.AddScoped<IFlushable, CacheFlusher>()
.AddScoped<PodcastProcessor>()
.AddHttpClient();

Expand Down

0 comments on commit 018d450

Please sign in to comment.