aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-10-28 20:18:57 -0500
committerJP Dillingham <jp@dillingham.me>2024-10-28 20:18:57 -0500
commitb94dfe45ad62b3fa6cad0e6358e5fcba49ff7d37 (patch)
tree7d3b33526af9cd3ebcc70a3ccbb6b939969945b0 /src
parent88955fb1e597b08d802710063cd40da987c44d78 (diff)
downloadslskd-b94dfe45ad62b3fa6cad0e6358e5fcba49ff7d37.tar.gz
use an array for headers or everything breaks
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index cca24ee9..a9d6aeb8 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -2062,7 +2062,7 @@ namespace slskd
/// Gets the HTTP headers to include with the webhook.
/// </summary>
[Validate]
- public IEnumerable<WebhookDetailHeader> Headers { get; init; } = [];
+ public WebhookDetailHeader[] Headers { get; init; } = [];
/// <summary>
/// Gets a value indicating whether HTTPS certificate errors should be ignored.