Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorFries committed Nov 8, 2024
1 parent 3e71066 commit bc1ad3e
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ export const createAndCloseExistingIssue = async (issueTitle, issueBody, issueCo
setTimeout(() => console.log("pausing for issue to be created..."), 1500);

// get the issue number for the issue just created
const newIssueNumber = new_issue['number'];
console.log("Issue: ", new_issue);
console.log("Number: ", newIssueNumber);
const betterIssueNumber = await findIssueByTitle(issueTitle);
const newIssueNumber = new_issue['data']['number'];

// Add comment to Issue.
await addComment(newIssueNumber, JSON.stringify(issueComment));
Expand Down

0 comments on commit bc1ad3e

Please sign in to comment.