diff --git a/src/ex-octokit/index.ts b/src/ex-octokit/index.ts index 88d0d44..b8ba49d 100644 --- a/src/ex-octokit/index.ts +++ b/src/ex-octokit/index.ts @@ -68,7 +68,7 @@ export class ExOctokit { ): Promise { const projectV2FieldResponse = await this.octokit.graphql( - `query fetchProjectV2FieldByName($projectOwnerName: String!, $fieldName: Int!) { + `query fetchProjectV2FieldByName($projectV2Id: String!, $fieldName: Int!) { node(id: $projectV2Id) { ... on ProjectV2 { field(name: $fieldName) {