-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix wrong user returned in API #15139
Conversation
The API call: GET /repos/{owner}/{repo}/pulls/{index}/reviews/{id}/comments returns always the reviewer, but should return the poster.
thanks for the pull :) @sotho - finished it for you |
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.
Otherwise LGTM
🚀 |
@sotho pleace backport ... if you dont know just ask :) |
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]>
Thanks. I cherry-picked the commit and opened two pull requests: for 1.13 and 1.14. |
Hmm. I tried it out, but I think the change you added is not correct. The struct is misleading: the "Reviewer" should be "Commenter" or "Poster", something like:
|
Damn I think @sotho is right here. it should be reviewID |
-> #15164 and after that adjust backports + merge |
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]>
* Fix wrong user returned in API (#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]> * rm regression 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.
close #15127