From b4a5ce0c817189d8534bdd973d8c9b210fddb0f2 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 28 Oct 2024 22:33:28 -0600 Subject: [PATCH] More log --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index e295583..132c8c9 100644 --- a/index.js +++ b/index.js @@ -56,14 +56,16 @@ async function getPreviousDayData() { monthlyTotal = res[2] totalCalls = res[3] connection.end(); - return { + let output = { "Calls Made": callsMade[0].call_count, "Record for Today of the Year": recordForToday[0].call_count, "Monthly Total": monthlyTotal[0].call_count, "Total Calls Ever Placed": totalCalls[0].call_count, "System Uptime": getSystemUptime(), "All Time Record": null, // Placeholder - }; + } + console.log(output) + return output; }); }