Skip to content

Commit

Permalink
fix fetchProjectV2FieldByName args
Browse files Browse the repository at this point in the history
  • Loading branch information
nipe0324 committed Jan 14, 2024
1 parent 7df7ffe commit f883f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ex-octokit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class ExOctokit {
): Promise<ProjectV2Field | null | undefined> {
const projectV2FieldResponse =
await this.octokit.graphql<ProjectV2FieldResponse>(
`query fetchProjectV2FieldByName($projectOwnerName: String!, $fieldName: Int!) {
`query fetchProjectV2FieldByName($projectV2Id: String!, $fieldName: Int!) {
node(id: $projectV2Id) {
... on ProjectV2 {
field(name: $fieldName) {
Expand Down

0 comments on commit f883f9b

Please sign in to comment.