diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-02-27 17:44:31 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2017-02-27 17:44:31 +0900 |
| commit | 65ae943d32052b1f39b2eb1289a817b4895bb557 (patch) | |
| tree | d13b057e76e391c1d733204ee5d873189ba044a3 /src/api/endpoints/posts/polls | |
| parent | Fix typo: configration -> configuration (diff) | |
| download | sharkey-65ae943d32052b1f39b2eb1289a817b4895bb557.tar.gz sharkey-65ae943d32052b1f39b2eb1289a817b4895bb557.tar.bz2 sharkey-65ae943d32052b1f39b2eb1289a817b4895bb557.zip | |
Fix comment
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 |