Use proper request method

This commit is contained in:
Chocobo1
2022-08-15 14:53:59 +08:00
parent d6c92704a1
commit 72941b10bb
5 changed files with 7 additions and 6 deletions

View File

@@ -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) {