Skip to content

Commit

Permalink
Merge pull request #19 from integration-os/feat/pagination-helper
Browse files Browse the repository at this point in the history
fix: pagination helper default config
  • Loading branch information
paulkr authored Oct 17, 2024
2 parents 24ef22b + 1da6286 commit 581b8bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/paginate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ export class PaginationHelper<T> {
private nextCursor: string | undefined;
private isInitialized: boolean = false;

private defaultBatchSize: number = 25

constructor(
private fetchFunction: PaginationHelperFetch<T>,
private listParams: ListFilter = {
limit: this.defaultBatchSize
limit: 25
}
) { }

Expand Down

0 comments on commit 581b8bd

Please sign in to comment.