Skip to content

Commit

Permalink
remove scWorker from this.scWorker.exchange
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnyVerduijn committed Oct 29, 2018
1 parent e94f2f1 commit 672657e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ class Worker extends SCWorker {
channel === "respond" ||
channel === "log"
) {
this.scServer.exchange.publish(channel, data);
this.exchange.publish(channel, data);
} else if (channel === "log-noid") {
this.scServer.exchange.publish("log", { id: req.socket.id, data: data });
this.exchange.publish("log", { id: req.socket.id, data: data });
}
next();
});
Expand Down

0 comments on commit 672657e

Please sign in to comment.