diff --git a/services/claim/common/methods/claim/regularizeClaim.js b/services/claim/common/methods/claim/regularizeClaim.js index 59d8635a5..24295bc79 100644 --- a/services/claim/common/methods/claim/regularizeClaim.js +++ b/services/claim/common/methods/claim/regularizeClaim.js @@ -117,7 +117,7 @@ module.exports = Self => { async function getTicketId(params, transaction) { const currentDate = new Date(); - currentDate.setHours(0, 0, 0, 0); + currentDate.setHours(null, null, null); let ticket = await Self.app.models.Ticket.findOne({ where: {