diff --git a/src/api/endpoints/posts/favorites/delete.js b/src/api/endpoints/posts/favorites/delete.js index 974852db21..fc587fda71 100644 --- a/src/api/endpoints/posts/favorites/delete.js +++ b/src/api/endpoints/posts/favorites/delete.js @@ -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 diff --git a/src/api/endpoints/posts/likes/create.js b/src/api/endpoints/posts/likes/create.js index bae8aecc0c..741e868863 100644 --- a/src/api/endpoints/posts/likes/create.js +++ b/src/api/endpoints/posts/likes/create.js @@ -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, diff --git a/src/api/endpoints/posts/likes/delete.js b/src/api/endpoints/posts/likes/delete.js index c2b8f53375..b04c497e57 100644 --- a/src/api/endpoints/posts/likes/delete.js +++ b/src/api/endpoints/posts/likes/delete.js @@ -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, diff --git a/src/api/endpoints/posts/polls/vote.js b/src/api/endpoints/posts/polls/vote.js index 40cd8a7e2c..c13772554a 100644 --- a/src/api/endpoints/posts/polls/vote.js +++ b/src/api/endpoints/posts/polls/vote.js @@ -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