Fix English grammatical error

This commit is contained in:
Aya Morisawa 2017-02-27 16:51:46 +09:00
parent 084b4025ab
commit 2140d22f2c
5 changed files with 5 additions and 5 deletions

View file

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

View file

@ -43,7 +43,7 @@ module.exports = (params, user) =>
return rej('-need-translate-');
}
// Check already liked
// already liked
const exist = await Like.findOne({
post_id: post._id,
user_id: user._id,

View file

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

View file

@ -52,7 +52,7 @@ module.exports = (params, user) =>
return rej('invalid choice');
}
// Check already voted
// already voted
const exist = await Vote.findOne({
post_id: post._id,
user_id: user._id