Merge pull request #274 from lbryio/channel-list-resolve
add resolve parameter to channel_list
This commit is contained in:
commit
adebb2d625
2 changed files with 4 additions and 4 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -3142,7 +3142,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
|
||||
|
@ -3155,7 +3155,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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -385,7 +385,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,
|
||||
|
@ -398,7 +398,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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue