Adds parent_id param to comment_create
to allow replies
This commit is contained in:
parent
2844087334
commit
c171a38067
1 changed files with 4 additions and 3 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue