Fix query for project item status field (#8332)
This commit is contained in:
parent
5e14987d65
commit
3f37d7e372
1 changed files with 3 additions and 3 deletions
|
|
@ -107,9 +107,9 @@ type ProjectV2Item struct {
|
|||
Title string `json:"title"`
|
||||
}
|
||||
Status struct {
|
||||
OptionID string `json:"optionId"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
OptionID string `json:"optionId" graphql:"... on ProjectV2ItemFieldSingleSelectValue{optionId}"`
|
||||
Name string `json:"name" graphql:"... on ProjectV2ItemFieldSingleSelectValue{name}"`
|
||||
} `graphql:"status:fieldValueByName(name: \"Status\")"`
|
||||
}
|
||||
|
||||
func (p ProjectCards) ProjectNames() []string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue