Skip to content

Commit

Permalink
fix: value of totalCount
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 a24de11 commit 766393f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const getPullCommitsResponse = (items?: PullCommits[]): Paginated<PullCom
];
return {
items: items || defaultItems,
totalCount: 1,
totalCount: items?.legth || 1,
hasNextPage: true,
hasPreviousPage: true,
page: 1,
Expand Down

0 comments on commit 766393f

Please sign in to comment.