diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-11-02 20:21:24 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-11-02 20:21:24 -0500 |
| commit | 8b8600be763119db7f79ff6d0e734b54fd24dafd (patch) | |
| tree | a72a5817abbdbe8cafd7e5c35eeff72ffff2f38a /src/slskd/Integrations/Webhooks/WebhookService.cs | |
| parent | 8dea12b0097d9bec4f1a44c6e373dce6086b1d77 (diff) | |
| download | slskd-8b8600be763119db7f79ff6d0e734b54fd24dafd.tar.gz | |
remove keyed service
Diffstat (limited to 'src/slskd/Integrations/Webhooks/WebhookService.cs')
| -rw-r--r-- | src/slskd/Integrations/Webhooks/WebhookService.cs | 3 |
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; |
