modify variable name
This commit is contained in:
parent
5214504369
commit
8a67807fc9
|
@ -159,12 +159,12 @@
|
||||||
getGlobalStat: function (callback, silent) {
|
getGlobalStat: function (callback, silent) {
|
||||||
return aria2RpcService.getGlobalStat({
|
return aria2RpcService.getGlobalStat({
|
||||||
silent: !!silent,
|
silent: !!silent,
|
||||||
callback: function (result) {
|
callback: function (response) {
|
||||||
if (!callback) {
|
if (!callback) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var stat = processStatResult(result);
|
var stat = processStatResult(response);
|
||||||
callback(stat);
|
callback(stat);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue