Add Assignees struct to IssuesPayload as well

This commit is contained in:
Pieter Lexis
2018-11-05 14:39:37 +01:00
parent dfc330f6eb
commit b3a5a8edf7
+2
View File
@@ -1112,6 +1112,7 @@ type IssueCommentPayload struct {
State string `json:"state"` State string `json:"state"`
Locked bool `json:"locked"` Locked bool `json:"locked"`
Assignee *Assignee `json:"assignee"` Assignee *Assignee `json:"assignee"`
Assignees []*Assignee `json:"assignees"`
Milestone *Milestone `json:"milestone"` Milestone *Milestone `json:"milestone"`
Comments int64 `json:"comments"` Comments int64 `json:"comments"`
CreatedAt time.Time `json:"created_at"` CreatedAt time.Time `json:"created_at"`
@@ -1297,6 +1298,7 @@ type IssuesPayload struct {
State string `json:"state"` State string `json:"state"`
Locked bool `json:"locked"` Locked bool `json:"locked"`
Assignee *Assignee `json:"assignee"` Assignee *Assignee `json:"assignee"`
Assignees []*Assignee `json:"assignees"`
Milestone *Milestone `json:"milestone"` Milestone *Milestone `json:"milestone"`
Comments int64 `json:"comments"` Comments int64 `json:"comments"`
CreatedAt time.Time `json:"created_at"` CreatedAt time.Time `json:"created_at"`