From 664158386b8ac6d9690005d6cc26a7440044df6a Mon Sep 17 00:00:00 2001 From: Alex Tugarev Date: Mon, 11 Oct 2021 10:56:25 +0000 Subject: [PATCH] [github projects] fix collection of accessible repos --- components/server/ee/src/github/github-app-support.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/server/ee/src/github/github-app-support.ts b/components/server/ee/src/github/github-app-support.ts index b4835427af39ef..f2f55949250c37 100644 --- a/components/server/ee/src/github/github-app-support.ts +++ b/components/server/ee/src/github/github-app-support.ts @@ -54,7 +54,7 @@ export class GitHubAppSupport { const sub = await probot.auth(installation.data.id); try { const accessibleRepos = (await sub.paginate(sub.rest.apps.listReposAccessibleToInstallation, { per_page: 100 })); - return accessibleRepos.repositories.map(r => { + return accessibleRepos.map(r => { return { name: r.name, cloneUrl: r.clone_url,