Skip to content
Snippets Groups Projects
Commit cb4615e7 authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Fix typo: arleady -> already

parent 7bf27dc4
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ module.exports = (params, user) =>
return rej('post not found');
}
// Check arleady favorited
// Check already favorited
const exist = await Favorite.findOne({
post_id: post._id,
user_id: user._id
......
......@@ -43,7 +43,7 @@ module.exports = (params, user) =>
return rej('-need-translate-');
}
// Check arleady liked
// Check already liked
const exist = await Like.findOne({
post_id: post._id,
user_id: user._id,
......
......@@ -38,7 +38,7 @@ module.exports = (params, user) =>
return rej('post not found');
}
// Check arleady liked
// Check already liked
const exist = await Like.findOne({
post_id: post._id,
user_id: user._id,
......
......@@ -52,7 +52,7 @@ module.exports = (params, user) =>
return rej('invalid choice');
}
// Check arleady voted
// Check already voted
const exist = await Vote.findOne({
post_id: post._id,
user_id: user._id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment