From 7861f2131a8835d7f5b0307820aacb7d1ac0788b Mon Sep 17 00:00:00 2001 From: Peter Morton Date: Wed, 19 Oct 2022 13:32:04 -0500 Subject: [PATCH] days should be hours --- routes/unified-data-gateway.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/unified-data-gateway.js b/routes/unified-data-gateway.js index 3d2a08e..aa0ba31 100644 --- a/routes/unified-data-gateway.js +++ b/routes/unified-data-gateway.js @@ -187,7 +187,7 @@ router.get("/", (req, res) => { filteredContacts[filteredContacts.length - 1].node.endTime ); - summary.totalHTDays = + summary.totalHTHours = (summary.lastContactEndTime.getTime() - summary.firstContactReceivedDate.getTime()) / (1000 * 3600);