This commit is contained in:
syuilo 2018-10-11 18:10:41 +09:00
parent 08b18004a7
commit 9e903c2df2

View file

@ -36,8 +36,6 @@ module.exports = (server: http.Server) => {
subscriber.on('message', async (_, data) => {
const obj = JSON.parse(data);
console.log(obj);
ev.emit(obj.channel, obj.message);
});