mirror of
https://github.com/wassname/talk.git
synced 2026-07-18 12:40:13 +08:00
Like button params
This commit is contained in:
@@ -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