1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-05 00:45:50 +02:00

Fix comment

This commit is contained in:
Aya Morisawa
2017-02-27 17:44:31 +09:00
parent b7d422ff12
commit 65ae943d32
5 changed files with 5 additions and 5 deletions

View File

@@ -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