Merge pull request #274 from lbryio/channel-list-resolve

add resolve parameter to channel_list
This commit is contained in:
Sean Yesmunt 2020-02-12 12:11:43 -05:00 committed by GitHub
commit adebb2d625
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

4
dist/bundle.es.js vendored
View file

@ -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);
};
}

View file

@ -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);
};
}