Skip to content

Commit

Permalink
Query String not properly used
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoni committed Feb 17, 2024
1 parent 371d1ef commit d143fb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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 dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/project-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export async function projectLink(): Promise<void> {

// First, use the GraphQL API to request the template project's node ID.
const searchResp = await octokit.graphql<ProjectsEdgesNodesResponse>(
`query getProjects(queryString: String!, $issueOwnerName: String!) {
`query getProjects($queryString: String!, $issueOwnerName: String!) {
${ownerType}(login:$issueOwnerName) {
projectsV2(first:100 query:$queryString) {
totalCount
Expand Down

0 comments on commit d143fb4

Please sign in to comment.