IO-2520 Change Query Time Bound
This commit is contained in:
@@ -64,9 +64,9 @@ exports.default = async (req, res) => {
|
|||||||
{
|
{
|
||||||
bodyshopid: bodyshop.id,
|
bodyshopid: bodyshop.id,
|
||||||
start: start
|
start: start
|
||||||
? moment(start).startOf("day")
|
? moment(start).startOf("hours")
|
||||||
: moment().subtract(5, "days").startOf("day"),
|
: moment().subtract(2, "hours").startOf("hour"),
|
||||||
...(end && { end: moment(end).endOf("day") }),
|
...(end && { end: moment(end).endOf("hours") }),
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user