Update key names in API error reporting
This commit is contained in:
parent
439f6523b1
commit
7f961ccc63
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ lbry.jsonrpc_call = function (connectionString, method, params, callback, errorC
|
||||||
connectionString: connectionString,
|
connectionString: connectionString,
|
||||||
method: method,
|
method: method,
|
||||||
params: params,
|
params: params,
|
||||||
code: response.error.code,
|
code: response.error.faultCode,
|
||||||
message: response.error.message,
|
message: response.error.fault,
|
||||||
data: response.error.data
|
data: response.error.faultString
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
document.dispatchEvent(errorEvent)
|
document.dispatchEvent(errorEvent)
|
||||||
|
|
Loading…
Reference in a new issue