mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Use proper request method
This commit is contained in:
@@ -35,7 +35,7 @@ MochaUI.extend({
|
||||
let maximum = 500;
|
||||
new Request({
|
||||
url: 'api/v2/transfer/uploadLimit',
|
||||
method: 'post',
|
||||
method: 'get',
|
||||
data: {},
|
||||
onSuccess: function(data) {
|
||||
if (data) {
|
||||
@@ -139,7 +139,7 @@ MochaUI.extend({
|
||||
let maximum = 500;
|
||||
new Request({
|
||||
url: 'api/v2/transfer/downloadLimit',
|
||||
method: 'post',
|
||||
method: 'get',
|
||||
data: {},
|
||||
onSuccess: function(data) {
|
||||
if (data) {
|
||||
|
||||
Reference in New Issue
Block a user