summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/polls
diff options
context:
space:
mode:
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