Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 96e6257

Browse files
Bug fix
1 parent ef40bdd commit 96e6257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers/calculate-page-offset-and-limit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ export default function calculatePageOffsetAndLimit(
2626
// Response
2727
return {
2828
offset,
29-
limit: offset + perPage,
29+
limit: perPage,
3030
};
3131
}

0 commit comments

Comments
 (0)