no message
This commit is contained in:
@@ -174,7 +174,7 @@ module.exports = {
|
||||
.populate({
|
||||
path: 'messages',
|
||||
match: { $and: [{ isUser: true }, { image: { $exists: true } }, { text: { $exists: false } }] },
|
||||
select: 'image -_id -isUser -order -text -timestamp',
|
||||
select: '-_id -isUser -order -text -timestamp',
|
||||
sort: { order: 1 }
|
||||
})
|
||||
.exec((err, result) => {
|
||||
|
||||
Reference in New Issue
Block a user