aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Program.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-08-04 10:47:46 -0500
committerJP Dillingham <jp@dillingham.me>2025-08-04 10:47:46 -0500
commit219aa156446e2465783cc018510cd9a18e643bb7 (patch)
tree3a68418b876a4f1dbed9c5aabedbd2644ce32277 /src/slskd/Program.cs
parentffa2b220221040997e9ebacb4a08136e80c9a7b3 (diff)
downloadslskd-219aa156446e2465783cc018510cd9a18e643bb7.tar.gz
use a string for diagnostic level (match other enums)
Diffstat (limited to 'src/slskd/Program.cs')
-rw-r--r--src/slskd/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs
index 89230e2a..645e395c 100644
--- a/src/slskd/Program.cs
+++ b/src/slskd/Program.cs
@@ -584,7 +584,7 @@ namespace slskd
new SoulseekClient(options: new SoulseekClientOptions(
maximumConcurrentUploads: OptionsAtStartup.Global.Upload.Slots,
maximumConcurrentDownloads: OptionsAtStartup.Global.Download.Slots,
- minimumDiagnosticLevel: OptionsAtStartup.Soulseek.DiagnosticLevel)));
+ minimumDiagnosticLevel: OptionsAtStartup.Soulseek.DiagnosticLevel.ToEnum<Soulseek.Diagnostics.DiagnosticLevel>())));
// add the core application service to DI as well as a hosted service so that other services can
// access instance methods