From e86cc22b3d8d8358b31f9574fc8291d531febc85 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello <8296030+Piccirello@users.noreply.github.com> Date: Mon, 4 Aug 2025 03:29:33 -0700 Subject: [PATCH] WebUI: Fix editing/creating category This broke in #22938. Closes #23042. PR #23056. --- src/webui/www/private/newcategory.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/www/private/newcategory.html b/src/webui/www/private/newcategory.html index 9bf5b95c0..8b651c253 100644 --- a/src/webui/www/private/newcategory.html +++ b/src/webui/www/private/newcategory.html @@ -172,7 +172,7 @@ fetch("api/v2/torrents/createCategory", { method: "POST", body: new URLSearchParams({ - ...body, + ...dlPathParams, category: categoryName, savePath: savePath }) @@ -192,7 +192,7 @@ fetch("api/v2/torrents/editCategory", { method: "POST", body: new URLSearchParams({ - ...body, + ...dlPathParams, category: uriCategoryName, // category name can't be changed savePath: savePath })