no message

This commit is contained in:
2018-03-04 03:23:55 -05:00
parent ed81b637cc
commit e565ebd62f

View File

@@ -155,9 +155,6 @@ module.exports = {
get: (e, id) => {
const promise = new Promise((resolve, reject) => {
ProfileModel.find({ _id: id })
.populate({
path: 'details'
})
.populate({
path: 'messages',
select: 'order text image isUser',