Skip to content

Commit

Permalink
fix: value of perPage
Browse files Browse the repository at this point in the history
Co-Authored-By: Prokop Simek <prokopsimek@users.noreply.github.com>
  • Loading branch information
adelkahomolova and prokopsimek authored Jan 9, 2020
1 parent 766393f commit b0942af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ export const getRepoCommits = (items?: Commit[]): Paginated<Commit> => {
hasNextPage: true,
hasPreviousPage: true,
page: 1,
perPage: 1,
perPage: items?.length || 1,
};
};

0 comments on commit b0942af

Please sign in to comment.