adds edit, hide, and abandon methods to call the API with
This commit is contained in:
parent
ba9e68b1da
commit
586b07a243
1 changed files with 5 additions and 0 deletions
|
@ -119,6 +119,11 @@ const Lbry: LbryTypes = {
|
||||||
// Comments
|
// Comments
|
||||||
comment_list: (params = {}) => daemonCallWithResult('comment_list', params),
|
comment_list: (params = {}) => daemonCallWithResult('comment_list', params),
|
||||||
comment_create: (params = {}) => daemonCallWithResult('comment_create', params),
|
comment_create: (params = {}) => daemonCallWithResult('comment_create', params),
|
||||||
|
// todo: implement these in reducers
|
||||||
|
comment_hide: (params = {}) => daemonCallWithResult('comment_hide', params),
|
||||||
|
comment_abandon: (params = {}) => daemonCallWithResult('comment_abandon', params),
|
||||||
|
comment_edit: (params = {}) => daemonCallWithResult('comment_hide', params),
|
||||||
|
|
||||||
// Connect to the sdk
|
// Connect to the sdk
|
||||||
connect: () => {
|
connect: () => {
|
||||||
if (Lbry.connectPromise === null) {
|
if (Lbry.connectPromise === null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue