From 1de1d534c982db913f145a6171f39d7b8ebd61af Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 10 Feb 2020 12:20:48 +0100 Subject: [PATCH] add resolve parameter to channel_list --- dist/bundle.es.js | 4 ++-- src/redux/actions/claims.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index c83f84b..28fa1d4 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -3129,7 +3129,7 @@ function doImportChannel(certificate) { }; } -function doFetchChannelListMine(page = 1, pageSize = 99999) { +function doFetchChannelListMine(page = 1, pageSize = 99999, resolve = false) { return dispatch => { dispatch({ type: FETCH_CHANNEL_LIST_STARTED @@ -3142,7 +3142,7 @@ function doFetchChannelListMine(page = 1, pageSize = 99999) { }); }; - lbryProxy.channel_list({ page, page_size: pageSize }).then(callback); + lbryProxy.channel_list({ page, page_size: pageSize, resolve }).then(callback); }; } diff --git a/src/redux/actions/claims.js b/src/redux/actions/claims.js index cd21153..5975dec 100644 --- a/src/redux/actions/claims.js +++ b/src/redux/actions/claims.js @@ -383,7 +383,7 @@ export function doImportChannel(certificate: string) { }; } -export function doFetchChannelListMine(page: number = 1, pageSize: number = 99999) { +export function doFetchChannelListMine(page: number = 1, pageSize: number = 99999, resolve: boolean = false) { return (dispatch: Dispatch) => { dispatch({ type: ACTIONS.FETCH_CHANNEL_LIST_STARTED, @@ -396,7 +396,7 @@ export function doFetchChannelListMine(page: number = 1, pageSize: number = 9999 }); }; - Lbry.channel_list({ page, page_size: pageSize }).then(callback); + Lbry.channel_list({ page, page_size: pageSize, resolve }).then(callback); }; } -- 2.45.2