Fix shit
This commit is contained in:
parent
0752221b85
commit
1a49ebbc08
2
index.js
2
index.js
|
|
@ -570,6 +570,7 @@ xmpp.on("stanza", (stanza) => {
|
|||
}
|
||||
})
|
||||
});
|
||||
if (process.env.LOG_EVENTS === "true") {
|
||||
fs.writeFileSync(logPath, JSON.stringify({
|
||||
evt, stanza, product_id, product_id_raw, bodyData, body, sentData: {
|
||||
"type": "iem-message",
|
||||
|
|
@ -590,6 +591,7 @@ xmpp.on("stanza", (stanza) => {
|
|||
}
|
||||
}, getCircularReplacer(), 2), 'utf8');
|
||||
}
|
||||
}
|
||||
tryGetText();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue