Skip to content

Commit

Permalink
fix url
Browse files Browse the repository at this point in the history
  • Loading branch information
kfbustam committed Dec 10, 2024
1 parent d1bb328 commit 272e0fa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/platforms/github/GitHubAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,8 @@ export class GitHubAPI {
getPullRequestComments = memoize(async (): Promise<GitHubIssueComment[]> => {
const pr = await this.getPullRequestInfo()
const prNumber = pr.number
const repo = this.repoMetadata.repoSlug
const owner = pr.base.repo.owner.login
return await this.getAllOfResource(`repos/${owner}/${repo}/issues/${prNumber}/comments`)
const repoSlug = this.repoMetadata.repoSlug
return await this.getAllOfResource(`repos/${repoSlug}/issues/${prNumber}/comments`)
})

getPullRequestInlineComments = async (
Expand Down

0 comments on commit 272e0fa

Please sign in to comment.