aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-11-02 20:21:24 -0500
committerJP Dillingham <jp@dillingham.me>2024-11-02 20:21:24 -0500
commit8b8600be763119db7f79ff6d0e734b54fd24dafd (patch)
treea72a5817abbdbe8cafd7e5c35eeff72ffff2f38a /src
parent8dea12b0097d9bec4f1a44c6e373dce6086b1d77 (diff)
downloadslskd-8b8600be763119db7f79ff6d0e734b54fd24dafd.tar.gz
remove keyed service
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Integrations/Webhooks/WebhookService.cs3
1 files changed, 1 insertions, 2 deletions
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<Options> optionsMonitor,
- [FromKeyedServices(key: nameof(WebhookService))] IHttpClientFactory httpClientFactory)
+ IHttpClientFactory httpClientFactory)
{
Events = eventBus;
OptionsMonitor = optionsMonitor;