Fix comment
This commit is contained in:
parent
b7d422ff12
commit
65ae943d32
5 changed files with 5 additions and 5 deletions
|
|
@ -38,7 +38,7 @@ module.exports = (params, user) =>
|
|||
return rej('post not found');
|
||||
}
|
||||
|
||||
// already liked
|
||||
// if already liked
|
||||
const exist = await Like.findOne({
|
||||
post_id: post._id,
|
||||
user_id: user._id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue