From be5ee86f70c20d71160f6b2edc488fcc7f959c7b Mon Sep 17 00:00:00 2001 From: furo Date: Sun, 7 Nov 2021 11:58:23 +0100 Subject: [PATCH] Don't output status to console --- libs/serverStats.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/serverStats.js b/libs/serverStats.js index 876a48f..201bd6c 100644 --- a/libs/serverStats.js +++ b/libs/serverStats.js @@ -29,9 +29,8 @@ export function getStats() { lastUpdate: new Date(globStats.lastDBUpdate).toLocaleString() } - const stats = { uptimeMillis, uptimeSeconds, db } - console.log(stats) - return stats + return { uptimeMillis, uptimeSeconds, db } + } /**