From 78bece98bc53a7332095d8ad27e391a19cb4bba2 Mon Sep 17 00:00:00 2001 From: ymw0407 Date: Sun, 29 Oct 2023 20:30:26 +0900 Subject: [PATCH] Fix : getPublicRepo API now can get up to 100 #178 --- src/repo/repo.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/repo/repo.service.ts b/src/repo/repo.service.ts index 23d510b..a89bb86 100644 --- a/src/repo/repo.service.ts +++ b/src/repo/repo.service.ts @@ -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, }, );