Fix comment
This commit is contained in:
parent
b7d422ff12
commit
65ae943d32
5 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue