mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
WebUI: Fix editing/creating category
Some checks are pending
CI - File health / Check (push) Waiting to run
CI - macOS / Build (push) Waiting to run
CI - Python / Check (push) Waiting to run
CI - Ubuntu / Build (push) Waiting to run
CI - WebUI / Check (push) Waiting to run
CI - Windows / Build (push) Waiting to run
Some checks are pending
CI - File health / Check (push) Waiting to run
CI - macOS / Build (push) Waiting to run
CI - Python / Check (push) Waiting to run
CI - Ubuntu / Build (push) Waiting to run
CI - WebUI / Check (push) Waiting to run
CI - Windows / Build (push) Waiting to run
This broke in #22938. Closes #23042. PR #23056.
This commit is contained in:
parent
96c55c4998
commit
e86cc22b3d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue