mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
WebUI: disallow unnecessary quotes in property name
Those two forms are the same and from now on we enforce to one style. PR #22051.
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
fetch("api/v2/torrents/addWebSeeds", {
|
||||
method: "POST",
|
||||
body: new URLSearchParams({
|
||||
"hash": new URI().getData("hash"),
|
||||
"urls": $("urls").value.split("\n").map(w => encodeURIComponent(w.trim())).filter(w => (w.length > 0)).join("|")
|
||||
hash: new URI().getData("hash"),
|
||||
urls: $("urls").value.split("\n").map(w => encodeURIComponent(w.trim())).filter(w => (w.length > 0)).join("|")
|
||||
})
|
||||
})
|
||||
.then((response) => {
|
||||
|
||||
Reference in New Issue
Block a user