mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 00:13:09 +02:00
Clean up
This commit is contained in:
parent
05f9ad11bb
commit
6559197c55
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue