Skip to content

Commit

Permalink
Merge pull request #140 from PotLock/staging
Browse files Browse the repository at this point in the history
fix donations limit
  • Loading branch information
M-Rb3 committed Jun 4, 2024
2 parents 770699e + 86b32f9 commit 7046bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/getPotData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()];
Expand Down

0 comments on commit 7046bc3

Please sign in to comment.