Edit
This commit is contained in:
@@ -147,7 +147,7 @@ module.exports.get_one_ticket = [
|
||||
|
||||
module.exports.get_all_tickets_for_admin = [
|
||||
(req, res) => {
|
||||
TicketConversation.find({})
|
||||
TicketConversation.find()
|
||||
.populate('user_id', userIdPopulation)
|
||||
.exec((err, data) => {
|
||||
if (err) return res500(res, err)
|
||||
|
||||
Reference in New Issue
Block a user