This commit is contained in:
Rory& 2025-09-20 20:42:49 +02:00
parent 46637ff420
commit b7c5d3c599

View file

@ -74,7 +74,7 @@ async function getPreviousDayData() {
totalCallsThisMonth: callsThisMonth, totalCallsThisMonth: callsThisMonth,
totalCallsEverPlaced: callsTotal totalCallsEverPlaced: callsTotal
}); });
console.log("Got stats:", stats); console.log("Got stats:", stats, "built from query results:", { callsYesterday, callsThisMonth, callsTotal });
return stats; return stats;
// return new Promise(async (resolve, reject) => { // return new Promise(async (resolve, reject) => {
// const yesterday = getYesterday(); // const yesterday = getYesterday();