summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/polls
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 16:51:46 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 17:39:25 +0900
commit1a7efa95f140286557f1edd2eedb0a37a505844c (patch)
treeec99d28735b311ed0479dcbdec332441ad6c0b54 /src/api/endpoints/posts/polls
parentFix typo: arleady -> already (diff)
downloadsharkey-1a7efa95f140286557f1edd2eedb0a37a505844c.tar.gz
sharkey-1a7efa95f140286557f1edd2eedb0a37a505844c.tar.bz2
sharkey-1a7efa95f140286557f1edd2eedb0a37a505844c.zip
Fix English grammatical error
Diffstat (limited to 'src/api/endpoints/posts/polls')
-rw-r--r--src/api/endpoints/posts/polls/vote.js2
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 c13772554a..fb348cafed 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');
}
- // Check already voted
+ // already voted
const exist = await Vote.findOne({
post_id: post._id,
user_id: user._id