Modified assignees field in issue struct for preperation of go-gitea/gitea#1884 (#97)

* Modified assignees field in issue struct for preperation of go-gitea/gitea#1884

* Modified assignees field in pr struct for preperation of go-gitea/gitea#1884

* Re-Added `Assignee`
This commit is contained in:
kolaente 2018-03-06 02:22:45 +01:00 committed by Bo-Yi Wu
parent cdbef99766
commit fa91af7569
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ type Issue struct {
Labels []*Label `json:"labels"`
Milestone *Milestone `json:"milestone"`
Assignee *User `json:"assignee"`
Assignees []*User `json:"assignees"`
// Whether the issue is open or closed
//
// type: string

View File

@ -22,6 +22,7 @@ type PullRequest struct {
Labels []*Label `json:"labels"`
Milestone *Milestone `json:"milestone"`
Assignee *User `json:"assignee"`
Assignees []*User `json:"assignees"`
State StateType `json:"state"`
Comments int `json:"comments"`