Skip to content

Commit

Permalink
fix(rpc): fix resolution rpc ops (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
nduchak authored Sep 18, 2019
1 parent 890d0a6 commit abd7c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es/rpc/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const RpcClient = stampit(AsyncInit, {
const { result: { resolve, reject }, id } = data

if (callbacks[id]) {
if (resolve) {
if (resolve !== undefined) {
callbacks[id].resolve(resolve)
} else if (reject) {
callbacks[id].reject(reject)
Expand Down

0 comments on commit abd7c56

Please sign in to comment.