From dcbd16d98ebd8db07d4b505b4abeced8948c83b5 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Sat, 2 Aug 2025 22:24:40 -0700 Subject: [PATCH] WebUI: Fix editing/creating category --- 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 })