*Resolve should return a RPCResponse
This commit is contained in:
parent
bb0841cf4a
commit
4f855110f5
|
@ -55,7 +55,7 @@ export default class WisdomRpcQuery extends RpcQueryBase {
|
||||||
response = { error: ERR_MAX_TRIES_HIT };
|
response = { error: ERR_MAX_TRIES_HIT };
|
||||||
}
|
}
|
||||||
|
|
||||||
this.resolve(response);
|
this.resolve({ data: response });
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue