summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/polls
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 16:51:24 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 17:39:25 +0900
commitcb4615e79eb998603c178f45625cd0cd865ab6d3 (patch)
tree2d4fdbc1cb5008d715d882609c0bcd7d87a25674 /src/api/endpoints/posts/polls
parentClean up (diff)
downloadsharkey-cb4615e79eb998603c178f45625cd0cd865ab6d3.tar.gz
sharkey-cb4615e79eb998603c178f45625cd0cd865ab6d3.tar.bz2
sharkey-cb4615e79eb998603c178f45625cd0cd865ab6d3.zip
Fix typo: arleady -> already
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 40cd8a7e2c..c13772554a 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 arleady voted
+ // Check already voted
const exist = await Vote.findOne({
post_id: post._id,
user_id: user._id