Skip to content
Snippets Groups Projects
Commit 1b24b98c authored by italo's avatar italo
Browse files

Fix: Emmiting JSON with multiple root elements

parent 44ca436e
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ module.exports = class CallbackEmitter extends EventEmitter {
// data to be sent
// note: keep keys in alphabetical order
const data = {
event: this.message,
event: "[" + this.message + "]",
timestamp: this.timestamp
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment