fix: claim search #150
2 changed files with 2 additions and 6 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -2093,9 +2093,7 @@ function doFetchClaimsByChannel(uri, page = 1) {
|
||||||
data: { uri, page }
|
data: { uri, page }
|
||||||
});
|
});
|
||||||
|
|
||||||
const { claimId } = parseURI(uri);
|
lbryProxy.claim_search({ channel_name: uri, page: page || 1, winning: true }).then(result => {
|
||||||
|
|
||||||
lbryProxy.claim_search({ channel_id: claimId, page: page || 1 }).then(result => {
|
|
||||||
const { items: claimsInChannel, page: returnedPage } = result;
|
const { items: claimsInChannel, page: returnedPage } = result;
|
||||||
|
|
||||||
dispatch({
|
dispatch({
|
||||||
|
|
|
@ -182,9 +182,7 @@ export function doFetchClaimsByChannel(uri: string, page: number = 1) {
|
||||||
data: { uri, page },
|
data: { uri, page },
|
||||||
});
|
});
|
||||||
|
|
||||||
const { claimId } = parseURI(uri);
|
Lbry.claim_search({ channel_name: uri, page: page || 1, winning: true }).then(
|
||||||
|
|
||||||
Lbry.claim_search({ channel_id: claimId, page: page || 1 }).then(
|
|
||||||
(result: ClaimSearchResponse) => {
|
(result: ClaimSearchResponse) => {
|
||||||
const { items: claimsInChannel, page: returnedPage } = result;
|
const { items: claimsInChannel, page: returnedPage } = result;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue