From 7f961ccc638471082365696014a960bf11c13724 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Mon, 24 Oct 2016 23:48:51 -0400 Subject: [PATCH] Update key names in API error reporting --- js/lbry.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/lbry.js b/js/lbry.js index e39980e82..1bbf31414 100644 --- a/js/lbry.js +++ b/js/lbry.js @@ -36,9 +36,9 @@ lbry.jsonrpc_call = function (connectionString, method, params, callback, errorC connectionString: connectionString, method: method, params: params, - code: response.error.code, - message: response.error.message, - data: response.error.data + code: response.error.faultCode, + message: response.error.fault, + data: response.error.faultString } }); document.dispatchEvent(errorEvent)