From 633d5668f091b78dbff32fd57a58aafb71c9c412 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 23 Jun 2025 15:08:36 -0700 Subject: [PATCH] IO-3279 Set usage report to 1 year. --- 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 af1d6ec75..ead4b0bba 100644 --- a/server/data/usageReport.js +++ b/server/data/usageReport.js @@ -35,7 +35,7 @@ exports.default = async (req, res) => { //Query the usage data. const queryResults = await client.request(queries.STATUS_UPDATE, { today: moment().startOf("day").subtract(7, "days"), - period: moment().subtract(90, "days").startOf("day") + period: moment().subtract(365, "days").startOf("day") }); //Massage the data. @@ -66,7 +66,7 @@ exports.default = async (req, res) => { 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. + - Days Since Creation: The number of days since the shop was created. Only shops created in the last 365 days are included. - Updated values should be higher than created values. - Counts are inclusive of the last 7 days of data. `,