We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fedffc commit 3946bb9Copy full SHA for 3946bb9
backend/src/fetchers/repository.ts
@@ -31,9 +31,6 @@ export const addRepositoriesToResult: Fetcher = async (
31
hasIssuesEnabled
32
hasProjectsEnabled
33
hasDiscussionsEnabled
34
- projects {
35
- totalCount
36
- }
37
projectsV2 {
38
totalCount
39
}
@@ -92,7 +89,7 @@ export const addRepositoriesToResult: Fetcher = async (
92
89
projectsEnabled: repo.hasProjectsEnabled,
93
90
discussionsEnabled: repo.hasDiscussionsEnabled,
94
91
collaboratorsCount: repo.collaborators?.totalCount || 0,
95
- projectsCount: repo.projects.totalCount,
+ projectsCount: repo.projects?.totalCount || 0,
96
projectsV2Count: repo.projectsV2.totalCount,
97
} as RepositoryResult,
98
};
0 commit comments