diff --git a/src/api/endpoints/posts/polls/recommendation.ts b/src/api/endpoints/posts/polls/recommendation.ts index d3fccf123..9c92d6cac 100644 --- a/src/api/endpoints/posts/polls/recommendation.ts +++ b/src/api/endpoints/posts/polls/recommendation.ts @@ -39,6 +39,9 @@ module.exports = (params, user) => new Promise(async (res, rej) => { _id: { $nin: nin }, + user_id: { + $ne: user._id + }, poll: { $exists: true, $ne: null