aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Integrations/Webhooks/WebhookService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Integrations/Webhooks/WebhookService.cs')
-rw-r--r--src/slskd/Integrations/Webhooks/WebhookService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Integrations/Webhooks/WebhookService.cs b/src/slskd/Integrations/Webhooks/WebhookService.cs
index 8a009623..deff3368 100644
--- a/src/slskd/Integrations/Webhooks/WebhookService.cs
+++ b/src/slskd/Integrations/Webhooks/WebhookService.cs
@@ -73,7 +73,7 @@ public class WebhookService
bool EqualsLiterallyAnyEvent(string type) => type.Equals(EventType.Any.ToString(), StringComparison.OrdinalIgnoreCase);
var options = OptionsMonitor.CurrentValue;
- var webhooksTriggeredByThisEventType = options.Integration.Webhooks
+ var webhooksTriggeredByThisEventType = options.Integrations.Webhooks
.Where(kvp => kvp.Value.On.Any(EqualsThisEvent) || kvp.Value.On.Any(EqualsLiterallyAnyEvent));
foreach (var webhook in webhooksTriggeredByThisEventType)