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:
parent
cdbef99766
commit
fa91af7569
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue