adds edit, hide, and abandon methods to call the API with

This commit is contained in:
Oleg Silkin 2020-01-09 17:11:37 -05:00
parent ba9e68b1da
commit 586b07a243

View file

@ -119,6 +119,11 @@ const Lbry: LbryTypes = {
// Comments
comment_list: (params = {}) => daemonCallWithResult('comment_list', 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: () => {
if (Lbry.connectPromise === null) {