Removing console.log

This commit is contained in:
Stefan Aebischer
2019-09-16 16:00:40 +02:00
parent 4660dc98b8
commit 59aee838a3

View File

@@ -43,7 +43,6 @@ module.exports = class WebsocketClient extends EventEmitter {
subscribe(topics) { subscribe(topics) {
if(!Array.isArray(topics)) topics = [topics]; if(!Array.isArray(topics)) topics = [topics];
topics.forEach(topic => this._subscriptions.add(topic)); topics.forEach(topic => this._subscriptions.add(topic));
// subscribe not necessary if not yet connected (will subscribe onOpen) // subscribe not necessary if not yet connected (will subscribe onOpen)
@@ -200,7 +199,6 @@ module.exports = class WebsocketClient extends EventEmitter {
} }
_subscribe(topics) { _subscribe(topics) {
console.log(topics);
const msgStr = JSON.stringify({ const msgStr = JSON.stringify({
op: 'subscribe', op: 'subscribe',
'args': topics 'args': topics