This commit is contained in:
syuilo 2018-10-11 18:10:41 +09:00
parent 05f9ad11bb
commit 6559197c55
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

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