This commit is contained in:
syuilo
2018-10-11 18:10:41 +09:00
parent 05f9ad11bb
commit 6559197c55

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);
});