mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 19:13:02 +00:00
[API] 自分の投票はおすすめしないように
This commit is contained in:
parent
caf9457653
commit
7be48285e2
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue