@merkl/api 0.10.300 → 0.10.301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -248,7 +248,7 @@ export class RewardService {
|
|
248
248
|
const toUpdate = [];
|
249
249
|
const toCreate = [];
|
250
250
|
const exists = await RewardRepository.findManyBreakdownUniques(uniques.slice(i, Math.min(i + 1000, uniques.length)));
|
251
|
-
for (const [pointIndex, point] of data.data.entries()) {
|
251
|
+
for (const [pointIndex, point] of data.data.slice(i, Math.min(i + 1000, uniques.length)).entries()) {
|
252
252
|
if (!!exists[pointIndex]) {
|
253
253
|
toUpdate.push(point);
|
254
254
|
}
|