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 e8089de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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: ID!, $fieldName: Int!) {
node(id: $projectV2Id) {
... on ProjectV2 {
field(name: $fieldName) {
Expand Down

0 comments on commit e8089de

Please sign in to comment.