From d21990cf517de5c77c02622c36851b82e8595af1 Mon Sep 17 00:00:00 2001
From: jsalyers <jsalyers@syncad.com>
Date: Wed, 4 Aug 2021 14:27:00 -0400
Subject: [PATCH] [JES] Return a response instead of just a blank string.
 Condenser seems happy with either

---
 src/api/transports/http.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/transports/http.js b/src/api/transports/http.js
index deb56dd..342edd0 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);
     }
-- 
GitLab