Skip to content

Commit

Permalink
Update jsonrpc.js
Browse files Browse the repository at this point in the history
Fix wrong indentation.
  • Loading branch information
PavelKonon committed Feb 27, 2013
1 parent 3a3323b commit b2786f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonrpc.js
Expand Up @@ -48,7 +48,7 @@ JSONRPCClient = function (scheme, host, port, path) {

// Send request
request = require(this.scheme).request(requestOptions, onComplete);
request.on('error', function (error) {
request.on('error', function (error) {
onErrorCallback && onErrorCallback(error);
});
request.write(requestJSON);
Expand Down

0 comments on commit b2786f2

Please sign in to comment.