IO-2416 Filter out "" from ClaimsCorp and Autohouse get shop queries

This commit is contained in:
Allan Carr
2023-10-18 10:55:08 -07:00
parent e7c3be5231
commit 60a0222dd0
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") }),
}
);