From af788e419faec039fce4c322e3fbea84d19da73c Mon Sep 17 00:00:00 2001 From: Damien Drozd Date: Wed, 6 Dec 2023 12:58:54 +0100 Subject: [PATCH] fix(frontend): fix algo profiles modules --- src/controllers/match.controller.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 => {