mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
fix: tickets not ordening by update date
This commit is contained in:
@@ -42,6 +42,7 @@ exports.index = async (req, res) => {
|
||||
],
|
||||
],
|
||||
},
|
||||
order: [["updatedAt", "DESC"]],
|
||||
});
|
||||
|
||||
return res.json(tickets);
|
||||
|
||||
Reference in New Issue
Block a user