Better and more friendly API

This commit is contained in:
Belen Curcio committed 2017-05-08 17:46:56 -03:00
1 parent 6934263f71
commit b547ad44f1
2 files changed
+26 -11

No files matched your search

@@ -34,10 +34,7 @@ class LikeButton extends Component {
if (myLikeActionSummary) {
deleteAction(myLikeActionSummary.current_user.id, comment.id);
} else {
postLike({
item_id: comment.id,
item_type: 'COMMENTS'
});
postLike();
}
};