diff --git a/plugins/coral-plugin-like/client/components/LikeButton.js b/plugins/coral-plugin-like/client/components/LikeButton.js index 8e653825c..b91ffd42a 100644 --- a/plugins/coral-plugin-like/client/components/LikeButton.js +++ b/plugins/coral-plugin-like/client/components/LikeButton.js @@ -34,7 +34,10 @@ class LikeButton extends Component { if (myLikeActionSummary) { deleteAction(myLikeActionSummary.current_user.id, comment.id); } else { - postLike(); + postLike({ + item_id: comment.id, + item_type: 'COMMENTS' + }); } };