mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 20:59:16 +00:00
improvement: use updatedAt instead of createdAt as reopen ticket criteria
This commit is contained in:
@@ -118,7 +118,7 @@ const verifyTicket = async (
|
|||||||
},
|
},
|
||||||
contactId: groupContact ? groupContact.id : contact.id
|
contactId: groupContact ? groupContact.id : contact.id
|
||||||
},
|
},
|
||||||
order: [["createdAt", "DESC"]],
|
order: [["updatedAt", "DESC"]],
|
||||||
include: ["contact"]
|
include: ["contact"]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user