Move stuff

This commit is contained in:
Christopher Cookman 2024-10-28 22:32:48 -06:00
parent fb866169e8
commit 0da00e5efb

View file

@ -55,11 +55,7 @@ async function getPreviousDayData() {
recordForToday = res[1]
monthlyTotal = res[2]
totalCalls = res[3]
});
await connection.end();
console.log(callsMade)
console.log(recordForToday)
connection.end();
return {
"Calls Made": callsMade[0].call_count,
"Record for Today of the Year": recordForToday[0].call_count,
@ -68,6 +64,7 @@ async function getPreviousDayData() {
"System Uptime": getSystemUptime(),
"All Time Record": null, // Placeholder
};
});
}
function getSystemUptime() {