aboutsummaryrefslogtreecommitdiffstats
path: root/http.js
diff options
context:
space:
mode:
Diffstat (limited to 'http.js')
-rw-r--r--http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/http.js b/http.js
index 4f6296d08..ff8335657 100644
--- a/http.js
+++ b/http.js
@@ -16,10 +16,10 @@
function formatJsonRpcMessage(message) {
var object = JSON.parse(message);
- return JSON.stringify({
+ return {
_id: object.id,
data: object.result
- });
+ };
};
HttpProvider.prototype.send = function (payload) {