mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-19 15:51:11 +00:00
revert log
This commit is contained in:
@@ -5,8 +5,6 @@ export function parseMessage(data: Data): Maybe<Message> {
|
|||||||
try {
|
try {
|
||||||
const message = JSON.parse(data.toString());
|
const message = JSON.parse(data.toString());
|
||||||
|
|
||||||
console.log(message);
|
|
||||||
|
|
||||||
if (message && typeof message.msg === 'string' && typeof message.ts === 'string') {
|
if (message && typeof message.msg === 'string' && typeof message.ts === 'string') {
|
||||||
message.ts = new Date(message.ts);
|
message.ts = new Date(message.ts);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user