From 65ae943d32052b1f39b2eb1289a817b4895bb557 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Mon, 27 Feb 2017 17:44:31 +0900 Subject: Fix comment --- src/api/endpoints/posts/polls/vote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/endpoints/posts/polls') 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 -- cgit v1.2.3-freya