Skip to content

Commit

Permalink
Add return statement for response. Refs #17.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacgr committed Jul 8, 2019
1 parent 07df389 commit 521ea44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/index.js
Expand Up @@ -163,7 +163,7 @@ class Client extends EventEmitter {
if (!message.method) {
this.serving_message_id = message.id;
this.responseQueue[this.serving_message_id] = message;
this.handleResponse(this.serving_message_id);
return this.handleResponse(this.serving_message_id);
}
}
} catch (e) {
Expand Down

0 comments on commit 521ea44

Please sign in to comment.