1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 23:31:48 +09:00

[API] 自分の投票はおすすめしないように

This commit is contained in:
syuilo 2017-03-25 16:50:21 +09:00
parent caf9457653
commit 7be48285e2

View File

@ -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