Skip to content

Commit 484ab13

Browse files
authored
Merge pull request #301 from hypercerts-org/bugfix/pagination-default-causing-missing-hypercerts-in-hyperboard
fix(hyperboardResolver): set 'first' parameter to MAX_INTEGER for fra…
2 parents 5fd40e9 + 9ee502f commit 484ab13

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/services/graphql/resolvers/hyperboardResolver.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ class HyperboardResolver {
192192
this.fractionsService
193193
.getFractions({
194194
where: { hypercert_id: { in: hypercertIds } },
195+
first: Number.MAX_SAFE_INTEGER,
195196
})
196197
.then((res) => res.data),
197198
this.allowlistRecordService
@@ -200,11 +201,13 @@ class HyperboardResolver {
200201
hypercert_id: { in: hypercertIds },
201202
claimed: { eq: false },
202203
},
204+
first: Number.MAX_SAFE_INTEGER,
203205
})
204206
.then((res) => res.data),
205207
this.hypercertsService
206208
.getHypercerts({
207209
where: { hypercert_id: { in: hypercertIds } },
210+
first: Number.MAX_SAFE_INTEGER,
208211
})
209212
.then((res) => res.data),
210213
this.hypercertsService.getHypercertMetadataSets({

0 commit comments

Comments
 (0)