Skip to content

Commit 0b8b81e

Browse files
API PullReviewComment HTMLPullURL should return the HTMLURL (#11501)
Fix #11499 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
1 parent b02d2c3 commit 0b8b81e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/convert/pull_review.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func ToPullReviewCommentList(review *models.Review, doer *models.User) ([]*api.P
103103
OrigCommitID: comment.OldRef,
104104
DiffHunk: patch2diff(comment.Patch),
105105
HTMLURL: comment.HTMLURL(),
106-
HTMLPullURL: review.Issue.APIURL(),
106+
HTMLPullURL: review.Issue.HTMLURL(),
107107
}
108108

109109
if comment.Line < 0 {

0 commit comments

Comments
 (0)