Fix bug and update
This commit is contained in:
@@ -149,6 +149,7 @@ module.exports.get_all_tickets_for_admin = [
|
||||
(req, res) => {
|
||||
TicketConversation.find()
|
||||
.sort({created_at: -1})
|
||||
.limit(400)
|
||||
.populate('user_id', userIdPopulation)
|
||||
.exec((err, data) => {
|
||||
if (err) return res500(res, err)
|
||||
|
||||
Reference in New Issue
Block a user