WebUI: Fix editing/creating category

This commit is contained in:
Thomas Piccirello 2025-08-02 22:24:40 -07:00
commit dcbd16d98e
No known key found for this signature in database

View file

@ -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
})