Removing console.log
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user