mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 00:52:30 -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:
@@ -53,7 +53,7 @@
|
||||
fetch("api/v2/transfer/setUploadLimit", {
|
||||
method: "POST",
|
||||
body: new URLSearchParams({
|
||||
"limit": limit
|
||||
limit: limit
|
||||
})
|
||||
})
|
||||
.then((response) => {
|
||||
@@ -68,8 +68,8 @@
|
||||
fetch("api/v2/torrents/setUploadLimit", {
|
||||
method: "POST",
|
||||
body: new URLSearchParams({
|
||||
"hashes": hashes.join("|"),
|
||||
"limit": limit
|
||||
hashes: hashes.join("|"),
|
||||
limit: limit
|
||||
})
|
||||
})
|
||||
.then((response) => {
|
||||
|
||||
Reference in New Issue
Block a user