-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
API PullReviewComment HTMLPullURL should return the HTMLURL #11501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API PullReviewComment HTMLPullURL should return the HTMLURL #11501
Conversation
Fix go-gitea#11499 Signed-off-by: Andrew Thornton <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should add APIPullURL
@@ -103,7 +103,7 @@ func ToPullReviewCommentList(review *models.Review, doer *models.User) ([]*api.P | |||
OrigCommitID: comment.OldRef, | |||
DiffHunk: patch2diff(comment.Patch), | |||
HTMLURL: comment.HTMLURL(), | |||
HTMLPullURL: review.Issue.APIURL(), | |||
HTMLPullURL: review.Issue.HTMLURL(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
damed ok this is completly my fault - at least I had an issue with it first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...
ping LG-TM |
@zeripath please send backport :) |
…#11501) Fix go-gitea#11499 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
…11533) Fix #11499 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
…#11501) Fix go-gitea#11499 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
Fix #11499
Signed-off-by: Andrew Thornton [email protected]