Fix comment
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user