diff --git a/src/controllers/match.controller.js b/src/controllers/match.controller.js index 310f92a..96651d4 100644 --- a/src/controllers/match.controller.js +++ b/src/controllers/match.controller.js @@ -139,10 +139,13 @@ exports.getCompatibleProfil = async (req, res, next) => { }, "biographie": { $exists: true + }, + "profileModules": { + $exists: true } }, [ - "firstName", "lastName", "gender", "gif", "movie", "music", "music", "questions", "interests", "biographie", "isFake" + "firstName", "lastName", "gender", "gif", "movie", "music", "music", "questions", "interests", "biographie", "isFake", "profileModules" ] ) .then(profiles => {