Skip to content

Commit

Permalink
Use number field for issue ID
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Sep 11, 2023
1 parent 8e42977 commit 6ad7d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gitProvider/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class GithubProvider extends GitProviderRoot {
});
if (latestPullRequestsOnBranch.data.length > 0) {
const latestPullRequest = latestPullRequestsOnBranch.data[0];
const latestPullRequestId = latestPullRequest.id;
const latestPullRequestId = latestPullRequest.number;
uxLog(this, c.grey(`[GitHub integration] Listing comments for PR ${latestPullRequestId}`));
const existingComments = await this.octokit.rest.issues.listComments({
owner: repoOwner,
Expand Down

0 comments on commit 6ad7d00

Please sign in to comment.