Skip to content

Commit c52a70e

Browse files
authored
Merge branch 'main' into fix-dependabot-alerts-cursor-pagination
2 parents de042c0 + b2db21c commit c52a70e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/github/projects.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ func createIterationField(ctx context.Context, gqlClient *githubv4.Client, owner
15671567
ID string
15681568
Name string
15691569
} `graphql:"... on ProjectV2IterationField"`
1570-
}
1570+
} `graphql:"projectV2Field"`
15711571
} `graphql:"createProjectV2Field(input: $input)"`
15721572
}
15731573

@@ -1600,7 +1600,7 @@ func createIterationField(ctx context.Context, gqlClient *githubv4.Client, owner
16001600
}
16011601
}
16021602
} `graphql:"... on ProjectV2IterationField"`
1603-
}
1603+
} `graphql:"projectV2Field"`
16041604
} `graphql:"updateProjectV2Field(input: $input)"`
16051605
}
16061606

pkg/github/projects_v2_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func createFieldMatcher() githubv4mock.Matcher {
174174
ID string
175175
Name string
176176
} `graphql:"... on ProjectV2IterationField"`
177-
}
177+
} `graphql:"projectV2Field"`
178178
} `graphql:"createProjectV2Field(input: $input)"`
179179
}{},
180180
githubv4.CreateProjectV2FieldInput{
@@ -242,7 +242,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) {
242242
}
243243
}
244244
} `graphql:"... on ProjectV2IterationField"`
245-
}
245+
} `graphql:"projectV2Field"`
246246
} `graphql:"updateProjectV2Field(input: $input)"`
247247
}{},
248248
UpdateProjectV2FieldInput{
@@ -319,7 +319,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) {
319319
}
320320
}
321321
} `graphql:"... on ProjectV2IterationField"`
322-
}
322+
} `graphql:"projectV2Field"`
323323
} `graphql:"updateProjectV2Field(input: $input)"`
324324
}{},
325325
UpdateProjectV2FieldInput{
@@ -403,7 +403,7 @@ func Test_ProjectsWrite_CreateIterationField(t *testing.T) {
403403
}
404404
}
405405
} `graphql:"... on ProjectV2IterationField"`
406-
}
406+
} `graphql:"projectV2Field"`
407407
} `graphql:"updateProjectV2Field(input: $input)"`
408408
}{},
409409
UpdateProjectV2FieldInput{

0 commit comments

Comments
 (0)