jessopb 2022-01-21 12:55:17 -05:00 committed by GitHub
parent 18c3bbe6e3
commit 11eed5c9eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,8 +160,8 @@ export const doFetchItemsInCollections = (
for (let i = 0; i < Math.ceil(totalItems / batchSize); i++) {
batches[i] = Lbry.claim_search({
claim_ids: claim.value.claims,
page: i + 1,
claim_ids: claim.value.claims.slice(i * batchSize, (i + 1) * batchSize),
page: 1,
page_size: batchSize,
no_totals: true,
});