Skip to content

Commit

Permalink
Fix incorrect variable mapping for PR util (#3442)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb authored Dec 5, 2023
1 parent 88497bd commit ccba619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automations/js/src/utils/pr.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export class PullRequest {
)
const pr = res.node
return {
isMerged: pr.isMerged,
isDraft: pr.merged,
isMerged: pr.merged,
isDraft: pr.isDraft,
reviewDecision: pr.reviewDecision,
linkedIssues: pr.closingIssuesReferences.nodes.map((node) => node.id),
reviewStates: pr.reviews.nodes.map((node) => node.state),
Expand Down

0 comments on commit ccba619

Please sign in to comment.