From 788610a5f6f82f2f866006cc6f0334a3bd746aec Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Tue, 9 May 2017 09:02:04 -0300 Subject: [PATCH] Like button params --- plugins/coral-plugin-like/client/components/LikeButton.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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' + }); } };