You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ListRepositoriesForOrgInstallation lists the repositories that an enterprise app installation
28
30
// has access to on an organization.
29
31
//
30
32
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#get-the-repositories-accessible-to-a-given-github-app-installation
31
33
//
32
34
//meta:operation GET /enterprises/{enterprise}/apps/organizations/{org}/installations/{installation_id}/repositories
@@ -42,7 +44,7 @@ func (s *EnterpriseService) ListRepositoriesForOrgInstallation(ctx context.Conte
42
44
returnnil, nil, err
43
45
}
44
46
45
-
varr*ListRepositories
47
+
varr[]*AccessibleRepository
46
48
resp, err:=s.client.Do(ctx, req, &r)
47
49
iferr!=nil {
48
50
returnnil, resp, err
@@ -57,7 +59,7 @@ func (s *EnterpriseService) ListRepositoriesForOrgInstallation(ctx context.Conte
57
59
// GitHub API docs: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/organization-installations#toggle-installation-repository-access-between-selected-and-all-repositories
0 commit comments