diff --git a/src/api/transports/http.js b/src/api/transports/http.js index deb56dd4be6c66e306bc560deba857700314b29b..342edd0d444732cd2ac4a1dada9806dd78c1709e 100644 --- a/src/api/transports/http.js +++ b/src/api/transports/http.js @@ -50,7 +50,7 @@ export function jsonRpc(uri, {method, id, params, fetchMethod=fetch}) { { //hivemind returns an error when tags aren't found, but it's not really an error //because the http return code was ok, so just return an empty response instead - return ""; + return "{\"id\":" + rpcRes.id + ", \"result\":[], \"jsonrpc\":\"2.0\"}"; } throw new RPCError(rpcRes.error); }