From 59aee838a33b9d554ddeb96e1ccc6be242dd3a7b Mon Sep 17 00:00:00 2001 From: Stefan Aebischer Date: Mon, 16 Sep 2019 16:00:40 +0200 Subject: [PATCH] Removing console.log --- lib/websocket-client.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/websocket-client.js b/lib/websocket-client.js index 8074306..df0660d 100644 --- a/lib/websocket-client.js +++ b/lib/websocket-client.js @@ -43,7 +43,6 @@ module.exports = class WebsocketClient extends EventEmitter { subscribe(topics) { if(!Array.isArray(topics)) topics = [topics]; - topics.forEach(topic => this._subscriptions.add(topic)); // subscribe not necessary if not yet connected (will subscribe onOpen) @@ -200,7 +199,6 @@ module.exports = class WebsocketClient extends EventEmitter { } _subscribe(topics) { - console.log(topics); const msgStr = JSON.stringify({ op: 'subscribe', 'args': topics