Dang types

This commit is contained in:
Christopher Cookman 2026-02-18 14:31:18 -07:00
parent cd6558f084
commit dbbe464533

View file

@ -488,7 +488,7 @@ app.get("/api/v1/admin/callLogs", (req, res) => {
// handle Dates and null/undefined safely, otherwise coerce to string. // handle Dates and null/undefined safely, otherwise coerce to string.
switch (key) { switch (key) {
case 'timestamp': case 'timestamp':
newRow[key] = new Date(row[key]).toISOString(); newRow[key] = new Date(Number(row[key])).toISOString();
break; break;
case 'success': case 'success':
newRow[key] = Boolean(row[key]); newRow[key] = Boolean(row[key]);