Fix JSON payload for PR review author

We do not query for bot/user distinction when fetching PR reviews, so we can't output that information either.
This commit is contained in:
Mislav Marohnić 2023-01-18 21:33:29 +01:00
parent ba27e5bfb8
commit 638f6ccc30
No known key found for this signature in database

View file

@ -31,7 +31,7 @@ type PullRequestReviews struct {
type PullRequestReview struct {
ID string `json:"id"`
Author Author `json:"author"`
Author CommentAuthor `json:"author"`
AuthorAssociation string `json:"authorAssociation"`
Body string `json:"body"`
SubmittedAt *time.Time `json:"submittedAt"`