parent
68722340c9
commit
f9fb4d6974
|
@ -103,7 +103,7 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
callback.resolve(data.result);
|
callback.resolve(data.result.result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (callback.results)
|
else if (callback.results)
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
var syncResponse = getSyncResponse({method: method});
|
var syncResponse = getSyncResponse({method: method});
|
||||||
if (syncResponse){
|
if (syncResponse){
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
resolve(syncResponse);
|
resolve(syncResponse.result);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue