From e565ebd62f54a7caad5b7465cea9a623d0c793e8 Mon Sep 17 00:00:00 2001 From: Mike Fitzpatrick Date: Sun, 4 Mar 2018 03:23:55 -0500 Subject: [PATCH] no message --- models/profile.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/models/profile.js b/models/profile.js index 85b3f89..c66bd75 100644 --- a/models/profile.js +++ b/models/profile.js @@ -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',