aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/API
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-01-27 19:48:25 -0600
committerJP Dillingham <jp@dillingham.me>2026-01-27 19:48:25 -0600
commit8859b9a6c82b1490349f7ffb4f6699b502384f8a (patch)
treec0a6b43f4437be266d080a5bbfab2e757a1baf5d /src/slskd/Core/API
parentdab94cbdfe2b9db21a82f447c49ba2cc46800bbb (diff)
downloadslskd-8859b9a6c82b1490349f7ffb4f6699b502384f8a.tar.gz
call it an overlay
Diffstat (limited to 'src/slskd/Core/API')
-rw-r--r--src/slskd/Core/API/Controllers/OptionsController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Core/API/Controllers/OptionsController.cs b/src/slskd/Core/API/Controllers/OptionsController.cs
index f14acc39..291ae561 100644
--- a/src/slskd/Core/API/Controllers/OptionsController.cs
+++ b/src/slskd/Core/API/Controllers/OptionsController.cs
@@ -79,7 +79,7 @@ namespace slskd.Core.API
[HttpPatch]
[Authorize(Policy = AuthPolicy.Any)]
[ProducesResponseType(typeof(Options), 200)]
- public IActionResult Patch([FromBody] OptionsPatch patch)
+ public IActionResult Patch([FromBody] OptionsOverlay patch)
{
if (patch is null)
{
@@ -95,7 +95,7 @@ namespace slskd.Core.API
try
{
- Application.ApplyOptionsPatchAsync(patch);
+ Program.ApplyConfigurationOverlay(patch);
}
catch (Exception ex)
{