Skip to content

Commit 0a4f509

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

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)