Cleanup PubSub

This commit is contained in:
haad 2016-02-22 12:52:52 +02:00
parent 6fc473a981
commit 144e1f94fd

View File

@ -3,7 +3,7 @@
const redis = require("redis"); const redis = require("redis");
const List = require('./list/OrbitList'); const List = require('./list/OrbitList');
class Pubsub2 { class Pubsub {
constructor(ipfs, host, port, username, password) { constructor(ipfs, host, port, username, password) {
this.ipfs = ipfs; this.ipfs = ipfs;
this._subscriptions = {}; this._subscriptions = {};
@ -49,4 +49,4 @@ class Pubsub2 {
} }
} }
module.exports = Pubsub2; module.exports = Pubsub;