Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #6 from jonabc/fix-graphql-id-bug
Browse files Browse the repository at this point in the history
Use the graphql query argument in the query
  • Loading branch information
jonabc authored Apr 21, 2020
2 parents 93e2130 + 14f1107 commit 2c4619d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ crossReferences: timelineItems(first: 100, itemTypes: [CROSS_REFERENCED_EVENT])

const GET_CROSSREFERENCED_ITEMS = `
query($id: ID!) {
node(id: id) {
node(id: $id) {
... on Issue {
${fields}
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sync-task-issues",
"version": "0.1.2",
"version": "0.1.3",
"description": "Marks issues and PRs referenced from checkbox lists as completed",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/graphql.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ crossReferences: timelineItems(first: 100, itemTypes: [CROSS_REFERENCED_EVENT])

const GET_CROSSREFERENCED_ITEMS = `
query($id: ID!) {
node(id: id) {
node(id: $id) {
... on Issue {
${fields}
}
Expand Down

0 comments on commit 2c4619d

Please sign in to comment.