We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd1ed5d commit 1f2d31bCopy full SHA for 1f2d31b
1 file changed
cmd/src/campaign_plans.go
@@ -44,12 +44,6 @@ func campaignPlanFragment(first int) string {
44
return fmt.Sprintf(`
45
fragment CampaignPlanFields on CampaignPlan {
46
id
47
- status {
48
- completedCount
49
- pendingCount
50
- state
51
- errors
52
- }
53
changesets(first: %d) {
54
nodes {
55
repository {
@@ -145,16 +139,8 @@ type ChangesetPlan struct {
145
139
} `json:"diff"`
146
140
}
147
141
148
-type Status struct {
149
- CompletedCount int `json:"completedCount"`
150
- PendingCount int `json:"pendingCount"`
151
- State string `json:"state"`
152
- Errors []string `json:"errors"`
153
-}
154
-
155
142
type CampaignPlan struct {
156
143
ID string `json:"id"`
157
- Status Status `json:"status"`
158
144
Changesets struct {
159
Nodes []ChangesetPlan `json:"nodes"`
160
TotalCount int `json:"totalCount"`
0 commit comments