This commit is contained in:
Christopher Cookman 2024-10-28 22:33:28 -06:00
parent 0da00e5efb
commit b4a5ce0c81

View file

@ -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;
});
}