wip
This commit is contained in:
parent
583b64331b
commit
67f9c158d7
8 changed files with 93 additions and 107 deletions
|
|
@ -22,7 +22,7 @@ module.exports = (params, user) =>
|
|||
|
||||
// Get favoritee
|
||||
const post = await Post.findOne({
|
||||
_id: new mongo.ObjectID(postId)
|
||||
_id: postId
|
||||
});
|
||||
|
||||
if (post === null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue