Adds parent_id param to comment_create to allow replies

This commit is contained in:
Oleg Silkin 2020-01-09 21:27:59 -05:00
parent 2844087334
commit c171a38067

View file

@ -55,9 +55,10 @@ export function doCommentCreate(
myChannels && myChannels.find(myChannel => myChannel.name === channel);
const channel_id = namedChannelClaim ? namedChannelClaim.claim_id : null;
return Lbry.comment_create({
comment,
claim_id,
channel_id,
comment: comment,
claim_id: claim_id,
channel_id: channel_id,
parent_id: parent_id,
})
.then((result: Comment) => {
dispatch({