Merged in feature/IO-2416-Autohouse_ClaimsCorp-Query (pull request #1017)

IO-2416 Filter out "" from ClaimsCorp and Autohouse get shop queries
This commit is contained in:
Allan Carr
2023-10-19 19:45:23 +00:00
2 changed files with 106 additions and 165 deletions

View File

@@ -62,7 +62,7 @@ exports.default = async (req, res) => {
start: start
? moment(start).startOf("day")
: moment().subtract(5, "days").startOf("day"),
...(end && { end: moment(end).startOf("day") }),
...(end && { end: moment(end).endOf("day") }),
}
);