This commit is contained in:
crusader 2017-08-14 14:10:29 +09:00
parent 6012209413
commit 5a3e643a1a

View File

@ -132,7 +132,7 @@ export default class WebSocketRPC {
private onResponseHandler(response: Response<ID_TYPE>): void {
const requestID = response.ID;
const error = response.Error;
const result = response.Result;
const result = JSON.parse(response.Result);
if (this.requestQueue.has(requestID)) {
let promise = this.requestQueue.get(requestID);