mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +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
|
||||
},
|
||||
order: [["createdAt", "DESC"]],
|
||||
order: [["updatedAt", "DESC"]],
|
||||
include: ["contact"]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user