mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
WebUI: Fix editing/creating category
This broke in #22938. Closes #23042. PR #23056.
This commit is contained in:
committed by
GitHub
parent
96c55c4998
commit
e86cc22b3d
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user