hour fix
This commit is contained in:
parent
589be52c6a
commit
1773af841b
|
@ -117,7 +117,7 @@ module.exports = Self => {
|
||||||
|
|
||||||
async function getTicketId(params, transaction) {
|
async function getTicketId(params, transaction) {
|
||||||
const currentDate = new Date();
|
const currentDate = new Date();
|
||||||
currentDate.setHours(0, 0, 0, 0);
|
currentDate.setHours(null, null, null);
|
||||||
|
|
||||||
let ticket = await Self.app.models.Ticket.findOne({
|
let ticket = await Self.app.models.Ticket.findOne({
|
||||||
where: {
|
where: {
|
||||||
|
|
Loading…
Reference in New Issue