Skip to content

Commit

Permalink
Fix : getPublicRepo API now can get up to 100 #178
Browse files Browse the repository at this point in the history
  • Loading branch information
ymw0407 committed Oct 29, 2023
1 parent fb0a058 commit 78bece9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/repo/repo.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,14 @@ export class RepoService {
await octokit.rest.repos.listForAuthenticatedUser({
visibility: 'public',
affiliation: 'owner',
per_page: 100,
});

const orgPulicReposList = await octokit.rest.repos.listForAuthenticatedUser(
{
visibility: 'public',
affiliation: 'organization_member',
per_page: 100,
},
);

Expand Down

0 comments on commit 78bece9

Please sign in to comment.