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

Commit 2c4619d

Browse files
authored
Merge pull request #6 from jonabc/fix-graphql-id-bug
Use the graphql query argument in the query
2 parents 93e2130 + 14f1107 commit 2c4619d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ crossReferences: timelineItems(first: 100, itemTypes: [CROSS_REFERENCED_EVENT])
410410

411411
const GET_CROSSREFERENCED_ITEMS = `
412412
query($id: ID!) {
413-
node(id: id) {
413+
node(id: $id) {
414414
... on Issue {
415415
${fields}
416416
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sync-task-issues",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Marks issues and PRs referenced from checkbox lists as completed",
55
"main": "dist/index.js",
66
"scripts": {

src/graphql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ crossReferences: timelineItems(first: 100, itemTypes: [CROSS_REFERENCED_EVENT])
2121

2222
const GET_CROSSREFERENCED_ITEMS = `
2323
query($id: ID!) {
24-
node(id: id) {
24+
node(id: $id) {
2525
... on Issue {
2626
${fields}
2727
}

0 commit comments

Comments
 (0)