From f7c9c8928eaca89a7bd02d7cc2e53049d7c43fef Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 22 Oct 2014 16:12:41 +0200 Subject: messageHandler expects object instead of string --- http.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'http.js') 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) { -- cgit v1.2.3