Skip to content

Fix wrong user returned in API (#15139) #15151

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

Merged
merged 2 commits into from
Mar 26, 2021

Conversation

sotho
Copy link
Contributor

@sotho sotho commented Mar 25, 2021

Backport of #15139

The API call: GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments
returns always the reviewer, but should return the poster.

Co-authored-by: 6543 [email protected]
Co-authored-by: zeripath [email protected]

The API call: GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments
returns always the reviewer, but should return the poster.

Co-authored-by: 6543 <[email protected]>
Co-authored-by: zeripath <[email protected]>
@6543 6543 added this to the 1.14.0 milestone Mar 25, 2021
@6543 6543 added modifies/api This PR adds API routes or modifies them type/bug skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Mar 25, 2021
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Mar 25, 2021
@sotho
Copy link
Contributor Author

sotho commented Mar 25, 2021

@6543 I think we should re-work the fix, see #15139 (comment)

Copy link
Member

@6543 6543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking until #15139 (comment) got solved

@sotho
Copy link
Contributor Author

sotho commented Mar 25, 2021

@6543: How would you like that I proceed?
I do another pull request on master to correct the code (change the ReviewID back), then change the commit of the two PR for v1.3 and v1.4?

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Mar 25, 2021
@6543 6543 merged commit 3558310 into go-gitea:release/v1.14 Mar 26, 2021
@go-gitea go-gitea locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/api This PR adds API routes or modifies them skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants