From a8ef681cf111ba77c607a24122ec0b0283dfcd1a Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Tue, 14 Jan 2025 13:13:09 -0800 Subject: [PATCH] IO-3076 Adjust daily usage report window. --- server/data/usageReport.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/data/usageReport.js b/server/data/usageReport.js index dd7bb4d42..42a8b5451 100644 --- a/server/data/usageReport.js +++ b/server/data/usageReport.js @@ -34,7 +34,7 @@ exports.default = async (req, res) => { //Query the usage data. const queryResults = await client.request(queries.STATUS_UPDATE, { - today: moment().startOf("day").subtract(3, "days"), + today: moment().startOf("day").subtract(7, "days"), period: moment().subtract(90, "days").startOf("day") }); @@ -63,7 +63,7 @@ Usage Report for ${moment().format("MM/DD/YYYY")} for Rome Online Customers. Notes: - Days Since Creation: The number of days since the shop was created. Only shops created in the last 90 days are included. - Updated values should be higher than created values. - - Counts are inclusive of the last 3 days of data. + - Counts are inclusive of the last 7 days of data. `, attachments: [{ filename: `RO Usage Report ${moment().format("MM/DD/YYYY")}.csv`, content: csv }] })