Skip to content

Commit

Permalink
stricter default pagination on subgraph draw queries
Browse files Browse the repository at this point in the history
  • Loading branch information
Ncookiez committed Dec 10, 2024
1 parent 40cfb0b commit 95f702a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/hyperstructure-react-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@generationsoftware/hyperstructure-react-hooks",
"description": "React hooks library for interacting with PoolTogether contracts",
"version": "1.25.4",
"version": "1.25.5",
"license": "MIT",
"main": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion shared/utilities/utils/subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const getPaginatedSubgraphDraws = async (
) => {
const draws: SubgraphDraw[] = []
const drawIds: number[] = []
const pageSize = options?.pageSize ?? 1_000
const pageSize = options?.pageSize ?? 100
let drawsPage = 0

while (true) {
Expand Down

0 comments on commit 95f702a

Please sign in to comment.