[API] 自分の投票はおすすめしないように
This commit is contained in:
parent
87d90b7969
commit
b3cdf5c1a7
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||||
_id: {
|
_id: {
|
||||||
$nin: nin
|
$nin: nin
|
||||||
},
|
},
|
||||||
|
user_id: {
|
||||||
|
$ne: user._id
|
||||||
|
},
|
||||||
poll: {
|
poll: {
|
||||||
$exists: true,
|
$exists: true,
|
||||||
$ne: null
|
$ne: null
|
||||||
|
|
Loading…
Reference in a new issue