Skip to content

Commit ac137d2

Browse files
authored
Merge da92c93 into 393832a
2 parents 393832a + da92c93 commit ac137d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controllers/match.controller.js

+2
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ exports.getCompatibleProfil = async (req, res, next) => {
156156
"firstName", "lastName", "gender", "gif", "movie", "music", "music", "questions", "interests", "biographie", "isFake", "profileModules", "preferences.searchLove", "preferences.searchFriend"
157157
]
158158
)
159+
.populate("interests")
160+
.populate({ path: 'questions', populate: "question" })
159161
.then(profiles => {
160162
if (userSexualOrientation === "bisexual") {
161163
profiles = profiles.filter(profile => {

0 commit comments

Comments
 (0)