IO-3279 Set usage report to 1 year.

This commit is contained in:
Patrick Fic
2025-06-23 15:08:36 -07:00
parent 00cc47553b
commit 633d5668f0

View File

@@ -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.
`,