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

Commit d8cf315

Browse files
committed
Limit to 100 repos per org (fix bad merge)
1 parent 08bfdc9 commit d8cf315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.App/Services/RepositoryCloneService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ public async Task<ViewerRepositoriesModel> ReadViewerRepositories(HostAddress ad
9999
Organizations = viewer.Organizations(null, null, null, null).AllPages().Select(org => new
100100
{
101101
org.Login,
102-
Repositories = org.Repositories(null, null, null, null, null, null, null, order, null, null)
103-
.AllPages()
102+
Repositories = org.Repositories(100, null, null, null, null, null, null, order, null, null)
103+
.Nodes
104104
.Select(repositorySelection).ToList()
105105
}).ToDictionary(x => x.Login, x => (IReadOnlyList<RepositoryListItemModel>)x.Repositories),
106106
}).Compile();

0 commit comments

Comments
 (0)