mirror of
https://github.com/wassname/talk.git
synced 2026-10-27 13:20:15 +08:00
Like button params
This commit is contained in:
1 parent
88861754f1
commit
788610a5f6
1 file changed
+4
-1
@@ -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'
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user