Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 55756f3

Browse files
authored
Update RepositoryCloneService.cs
Add link with more info about affiliations and ownerAffiliations https://platform.github.community/t/unable-to-fetch-users-repositories-by-organization-membership/7557/6
1 parent 9959caa commit 55756f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitHub.App/Services/RepositoryCloneService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public async Task<ViewerRepositoriesModel> ReadViewerRepositories(HostAddress ad
9393
// We should pass affiliations and ownerAffiliations the same RepositoryAffiliation?[], but
9494
// ownerAffiliations doesn't currently exist on GitHub Enterprise. Luckily the default is
9595
// Owner and Collaborator, which is what we need in this case (we can simply pass null).
96+
// See https://platform.github.community/t/unable-to-fetch-users-repositories-by-organization-membership/7557/6
9697
Repositories = viewer.Repositories(null, null, null, null, null, null, null, order, null, null)
9798
.AllPages()
9899
.Select(repositorySelection).ToList(),

0 commit comments

Comments
 (0)