This commit is contained in:
Joan Sanchez 2018-10-15 11:48:03 +02:00
parent 589be52c6a
commit 1773af841b
1 changed files with 1 additions and 1 deletions

View File

@ -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: {