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

Commit 6d72dec

Browse files
committed
fix id input on graphql call
1 parent 93e2130 commit 6d72dec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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
}

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)