From f850288796b59e601ed4bbd5b1c00283545b6f21 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 18 Feb 2026 16:52:51 -0700 Subject: [PATCH] Add current timestamp to callLogs api for reference when human is reading JSON --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 48e6cc3..a77962d 100644 --- a/index.js +++ b/index.js @@ -500,7 +500,7 @@ app.get("/api/v1/admin/callLogs", (req, res) => { } return newRow; }); - res.json({ totalPages, page, data: rows }); + res.json({ totalPages, page, current_time: new Date().toISOString(), data: rows }); }).catch(err => { console.error('Error getting call logs:', err); res.status(500).json({ error: 'Internal server error' });