More log
This commit is contained in:
parent
0da00e5efb
commit
b4a5ce0c81
6
index.js
6
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;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue