Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
916ef0f647 |
2 changed files with 20 additions and 12 deletions
7
dist/bundle.es.js
vendored
7
dist/bundle.es.js
vendored
|
@ -2887,7 +2887,12 @@ function doFetchClaimListMine(page = 1, pageSize = 99999) {
|
||||||
type: FETCH_CLAIM_LIST_MINE_STARTED
|
type: FETCH_CLAIM_LIST_MINE_STARTED
|
||||||
});
|
});
|
||||||
|
|
||||||
lbryProxy.claim_list({ page, page_size: pageSize, claim_type: ['stream', 'repost'] }).then(result => {
|
lbryProxy.claim_list({
|
||||||
|
page,
|
||||||
|
page_size: pageSize,
|
||||||
|
claim_type: ['stream', 'repost'],
|
||||||
|
resolve: true
|
||||||
|
}).then(result => {
|
||||||
const claims = result.items;
|
const claims = result.items;
|
||||||
|
|
||||||
dispatch({
|
dispatch({
|
||||||
|
|
|
@ -100,18 +100,21 @@ export function doFetchClaimListMine(page: number = 1, pageSize: number = 99999)
|
||||||
type: ACTIONS.FETCH_CLAIM_LIST_MINE_STARTED,
|
type: ACTIONS.FETCH_CLAIM_LIST_MINE_STARTED,
|
||||||
});
|
});
|
||||||
|
|
||||||
Lbry.claim_list({ page, page_size: pageSize, claim_type: ['stream', 'repost'] }).then(
|
Lbry.claim_list({
|
||||||
(result: StreamListResponse) => {
|
page,
|
||||||
const claims = result.items;
|
page_size: pageSize,
|
||||||
|
claim_type: ['stream', 'repost'],
|
||||||
|
resolve: true,
|
||||||
|
}).then((result: StreamListResponse) => {
|
||||||
|
const claims = result.items;
|
||||||
|
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.FETCH_CLAIM_LIST_MINE_COMPLETED,
|
type: ACTIONS.FETCH_CLAIM_LIST_MINE_COMPLETED,
|
||||||
data: {
|
data: {
|
||||||
claims,
|
claims,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
});
|
||||||
);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue