From 1a7c1735f40fe9e0df51964ae2ad5a9b5505e447 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 12 Feb 2025 07:54:59 -0700 Subject: [PATCH] Fix log? --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 08c1246..796aa10 100644 --- a/index.js +++ b/index.js @@ -378,7 +378,7 @@ xmpp.on("stanza", (stanza) => { const diff = (now - product_id.timestamp) / 1000 / 60; if (diff > 3) return; // if (config.debug >= 1) console.log(`${colors.magenta("[DEBUG]")} New message from ${fromChannel}`); - console.log(`${colors.cyan("[INFO]")} ${getWFO(fromChannel)?.location || fromChannel} issues ${evt.name}`) + console.log(`${colors.cyan("[INFO]")} ${wfo.location || fromChannel} issues ${evt.text}`) messages++;