From 86b32f98682328f1e15049432d4d121befbdef5c Mon Sep 17 00:00:00 2001 From: M-RB3 Date: Tue, 4 Jun 2024 18:30:12 +0400 Subject: [PATCH] fix donations limit --- src/services/getPotData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/getPotData.ts b/src/services/getPotData.ts index c1a3463d..99719697 100644 --- a/src/services/getPotData.ts +++ b/src/services/getPotData.ts @@ -200,7 +200,7 @@ export const getPayout = ({ // get matched donations export const asyncGetPublicDonations = (potDetail: PotDetail, potId: string) => { - const limit = 450; // number of donations to fetch per req + const limit = 350; // number of donations to fetch per req const donationsCount = potDetail.public_donations_count; const paginations = [...Array(Math.ceil(donationsCount / limit)).keys()];