Skip to content

Commit 5d78beb

Browse files
authored
Merge pull request #179 from AgainIoT/feature/178
Fix : getPublicRepo API now can get up to 100 #178
2 parents fb0a058 + 78bece9 commit 5d78beb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/repo/repo.service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,14 @@ export class RepoService {
111111
await octokit.rest.repos.listForAuthenticatedUser({
112112
visibility: 'public',
113113
affiliation: 'owner',
114+
per_page: 100,
114115
});
115116

116117
const orgPulicReposList = await octokit.rest.repos.listForAuthenticatedUser(
117118
{
118119
visibility: 'public',
119120
affiliation: 'organization_member',
121+
per_page: 100,
120122
},
121123
);
122124

0 commit comments

Comments
 (0)