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

@@ -31,7 +31,7 @@ module.exports = (params, user) =>
return rej('post not found');
}
// already favorited
// if already favorited
const exist = await Favorite.findOne({
post_id: post._id,
user_id: user._id

View File

@@ -31,7 +31,7 @@ module.exports = (params, user) =>
return rej('post not found');
}
// already favorited
// if already favorited
const exist = await Favorite.findOne({
post_id: post._id,
user_id: user._id