forked from mirror/misskey
Clean up
This commit is contained in:
parent
05f9ad11bb
commit
6559197c55
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user