Add parse author association for GitHub comment
This commit is contained in:
@@ -35,6 +35,7 @@ type CommitCommentPayload struct {
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
Body string `json:"body"`
|
||||
AuthorAssociation string `json:"author_association"`
|
||||
} `json:"comment"`
|
||||
Repository struct {
|
||||
ID int64 `json:"id"`
|
||||
@@ -1079,6 +1080,7 @@ type IssueCommentPayload struct {
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
Body string `json:"body"`
|
||||
AuthorAssociation string `json:"author_association"`
|
||||
} `json:"comment"`
|
||||
Repository struct {
|
||||
ID int64 `json:"id"`
|
||||
@@ -3532,6 +3534,7 @@ type PullRequestReviewCommentPayload struct {
|
||||
SiteAdmin bool `json:"site_admin"`
|
||||
} `json:"user"`
|
||||
Body string `json:"body"`
|
||||
AuthorAssociation string `json:"author_association"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
HTMLURL string `json:"html_url"`
|
||||
|
||||
Reference in New Issue
Block a user