mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 11:43:10 +02:00
Fix #11499 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
1 parent
8525a48581
commit
8bde2e9813
1 file changed
+1
-1
@@ -103,7 +103,7 @@ func ToPullReviewCommentList(review *models.Review, doer *models.User) ([]*api.P
|
|||||||
OrigCommitID: comment.OldRef,
|
OrigCommitID: comment.OldRef,
|
||||||
DiffHunk: patch2diff(comment.Patch),
|
DiffHunk: patch2diff(comment.Patch),
|
||||||
HTMLURL: comment.HTMLURL(),
|
HTMLURL: comment.HTMLURL(),
|
||||||
HTMLPullURL: review.Issue.APIURL(),
|
HTMLPullURL: review.Issue.HTMLURL(),
|
||||||
}
|
}
|
||||||
|
|
||||||
if comment.Line < 0 {
|
if comment.Line < 0 {
|
||||||
|
|||||||
Reference in new issue
Block a user