diff --git a/src/scripts/services/aria2SettingService.js b/src/scripts/services/aria2SettingService.js index 581ee11..20bef18 100644 --- a/src/scripts/services/aria2SettingService.js +++ b/src/scripts/services/aria2SettingService.js @@ -159,12 +159,12 @@ getGlobalStat: function (callback, silent) { return aria2RpcService.getGlobalStat({ silent: !!silent, - callback: function (result) { + callback: function (response) { if (!callback) { return; } - var stat = processStatResult(result); + var stat = processStatResult(response); callback(stat); } });