Skip to content

Commit 76e5b13

Browse files
committed
Adding params for listPullRequests
1 parent fae5d78 commit 76e5b13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/services/github/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export const listPullRequests = async ({
2727
try {
2828
const response = await axios.get(
2929
`https://api.github.com/repos/${owner}/${repo}/pulls`,
30+
{ params: { state: "all", per_page: 10 } },
3031
);
3132

3233
return response.data;

0 commit comments

Comments
 (0)