Skip to content

Commit

Permalink
Merge pull request #179 from AgainIoT/feature/178
Browse files Browse the repository at this point in the history
Fix : getPublicRepo API now can get up to 100 #178
  • Loading branch information
ymw0407 authored Oct 29, 2023
2 parents fb0a058 + 78bece9 commit 5d78beb
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 5d78beb

Please sign in to comment.