From 8b8600be763119db7f79ff6d0e734b54fd24dafd Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 2 Nov 2024 20:21:24 -0500 Subject: remove keyed service --- src/slskd/Integrations/Webhooks/WebhookService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/slskd/Integrations/Webhooks/WebhookService.cs b/src/slskd/Integrations/Webhooks/WebhookService.cs index 768bf563..08dfd593 100644 --- a/src/slskd/Integrations/Webhooks/WebhookService.cs +++ b/src/slskd/Integrations/Webhooks/WebhookService.cs @@ -26,7 +26,6 @@ using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; -using Microsoft.Extensions.DependencyInjection; using Serilog; using slskd.Events; @@ -35,7 +34,7 @@ public class WebhookService public WebhookService( EventBus eventBus, IOptionsMonitor optionsMonitor, - [FromKeyedServices(key: nameof(WebhookService))] IHttpClientFactory httpClientFactory) + IHttpClientFactory httpClientFactory) { Events = eventBus; OptionsMonitor = optionsMonitor; -- cgit v1.2.3