diff options
Diffstat (limited to 'src/api/endpoints/posts/polls')
| -rw-r--r-- | src/api/endpoints/posts/polls/vote.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/polls/vote.js b/src/api/endpoints/posts/polls/vote.js index fb348cafed..bb4f7b259b 100644 --- a/src/api/endpoints/posts/polls/vote.js +++ b/src/api/endpoints/posts/polls/vote.js @@ -52,7 +52,7 @@ module.exports = (params, user) => return rej('invalid choice'); } - // already voted + // if already voted const exist = await Vote.findOne({ post_id: post._id, user_id: user._id |