Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/github/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ func createIterationField(ctx context.Context, gqlClient *githubv4.Client, owner
ID string
Name string
} `graphql:"... on ProjectV2IterationField"`
}
} `graphql:"projectV2Field"`
} `graphql:"createProjectV2Field(input: $input)"`
}

Expand Down Expand Up @@ -1616,7 +1616,7 @@ func createIterationField(ctx context.Context, gqlClient *githubv4.Client, owner
}
}
} `graphql:"... on ProjectV2IterationField"`
}
} `graphql:"projectV2Field"`
} `graphql:"updateProjectV2Field(input: $input)"`
}

Expand Down
8 changes: 4 additions & 4 deletions pkg/github/projects_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func createFieldMatcher() githubv4mock.Matcher {
ID string
Name string
} `graphql:"... on ProjectV2IterationField"`
}
} `graphql:"projectV2Field"`
} `graphql:"createProjectV2Field(input: $input)"`
}{},
githubv4.CreateProjectV2FieldInput{
Expand Down Expand Up @@ -242,7 +242,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) {
}
}
} `graphql:"... on ProjectV2IterationField"`
}
} `graphql:"projectV2Field"`
} `graphql:"updateProjectV2Field(input: $input)"`
}{},
UpdateProjectV2FieldInput{
Expand Down Expand Up @@ -319,7 +319,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) {
}
}
} `graphql:"... on ProjectV2IterationField"`
}
} `graphql:"projectV2Field"`
} `graphql:"updateProjectV2Field(input: $input)"`
}{},
UpdateProjectV2FieldInput{
Expand Down Expand Up @@ -403,7 +403,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) {
}
}
} `graphql:"... on ProjectV2IterationField"`
}
} `graphql:"projectV2Field"`
} `graphql:"updateProjectV2Field(input: $input)"`
}{},
UpdateProjectV2FieldInput{
Expand Down
Loading