bug fix
This commit is contained in:
parent
6012209413
commit
5a3e643a1a
|
@ -132,7 +132,7 @@ export default class WebSocketRPC {
|
||||||
private onResponseHandler(response: Response<ID_TYPE>): void {
|
private onResponseHandler(response: Response<ID_TYPE>): void {
|
||||||
const requestID = response.ID;
|
const requestID = response.ID;
|
||||||
const error = response.Error;
|
const error = response.Error;
|
||||||
const result = response.Result;
|
const result = JSON.parse(response.Result);
|
||||||
|
|
||||||
if (this.requestQueue.has(requestID)) {
|
if (this.requestQueue.has(requestID)) {
|
||||||
let promise = this.requestQueue.get(requestID);
|
let promise = this.requestQueue.get(requestID);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user