Skip to content

Commit 4f56773

Browse files
committed
fix graphql shape
1 parent 9268a7d commit 4f56773

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/release-comment-issues-gh-action

1 file changed

+1
-1
lines changed

dev-packages/release-comment-issues-gh-action/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ query issuesForPr($owner: String!, $repo: String!, $prNumber: Int!) {
9494

9595
console.log(res);
9696

97-
const issues = res.data.repository?.pullRequest?.closingIssuesReferences.edges.map(edge => edge.node);
97+
const issues = res.repository?.pullRequest?.closingIssuesReferences.edges.map(edge => edge.node);
9898
return {
9999
prNumber,
100100
issues

0 commit comments

Comments
 (0)