Skip to content

Commit

Permalink
[github projects] fix collection of accessible repos
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTugarev authored and roboquat committed Oct 11, 2021
1 parent 0d3202c commit 4750a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/server/ee/src/github/github-app-support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4750a3f

Please sign in to comment.