1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 16:58:11 +09:00

Fix typo: arleady -> already

This commit is contained in:
Aya Morisawa 2017-02-27 16:51:24 +09:00
parent 7bf27dc4ed
commit cb4615e79e
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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