Match query fields with ProjectV2 type
Co-authored-by: Andy Feller <andyfeller@github.com>
This commit is contained in:
parent
b294f6b3e1
commit
985dee0e05
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ func RepositoryGraphQL(fields []string) string {
|
|||
case "projects":
|
||||
q = append(q, "projects(first:100,states:OPEN){nodes{id,name,number,body,resourcePath}}")
|
||||
case "projectsV2":
|
||||
q = append(q, "projectsV2(first:100,query:\"is:open\"){nodes{id,number,title,readme,url}}")
|
||||
q = append(q, "projectsV2(first:100,query:\"is:open\"){nodes{id,number,resourcePath,closed,url}}")
|
||||
case "watchers":
|
||||
q = append(q, "watchers{totalCount}")
|
||||
case "issues":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue