Update apiInterfaces.js
This commit is contained in:
@@ -45,7 +45,6 @@ function jsonHttpRequest (host, port, data, callback, path) {
|
||||
req.on('error', function (e) {
|
||||
callback(e, {});
|
||||
});
|
||||
|
||||
req.end(data);
|
||||
}
|
||||
|
||||
@@ -64,7 +63,7 @@ function rpc (host, port, method, params, callback) {
|
||||
callback(error, {});
|
||||
return;
|
||||
}
|
||||
callback(replyJson.error, replyJson.result)
|
||||
callback(replyJson.error, replyJson.result);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user