diff --git a/pkg/github/projects.go b/pkg/github/projects.go index 53ce51051..d20fa3cc3 100644 --- a/pkg/github/projects.go +++ b/pkg/github/projects.go @@ -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)"` } @@ -1616,7 +1616,7 @@ func createIterationField(ctx context.Context, gqlClient *githubv4.Client, owner } } } `graphql:"... on ProjectV2IterationField"` - } + } `graphql:"projectV2Field"` } `graphql:"updateProjectV2Field(input: $input)"` } diff --git a/pkg/github/projects_v2_test.go b/pkg/github/projects_v2_test.go index 69d4d6395..701e19476 100644 --- a/pkg/github/projects_v2_test.go +++ b/pkg/github/projects_v2_test.go @@ -174,7 +174,7 @@ func createFieldMatcher() githubv4mock.Matcher { ID string Name string } `graphql:"... on ProjectV2IterationField"` - } + } `graphql:"projectV2Field"` } `graphql:"createProjectV2Field(input: $input)"` }{}, githubv4.CreateProjectV2FieldInput{ @@ -242,7 +242,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) { } } } `graphql:"... on ProjectV2IterationField"` - } + } `graphql:"projectV2Field"` } `graphql:"updateProjectV2Field(input: $input)"` }{}, UpdateProjectV2FieldInput{ @@ -319,7 +319,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) { } } } `graphql:"... on ProjectV2IterationField"` - } + } `graphql:"projectV2Field"` } `graphql:"updateProjectV2Field(input: $input)"` }{}, UpdateProjectV2FieldInput{ @@ -403,7 +403,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) { } } } `graphql:"... on ProjectV2IterationField"` - } + } `graphql:"projectV2Field"` } `graphql:"updateProjectV2Field(input: $input)"` }{}, UpdateProjectV2FieldInput{