Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit fa91af7

Browse files
kolaenteappleboy
authored andcommitted
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`
1 parent cdbef99 commit fa91af7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

gitea/issue.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ type Issue struct {
3939
Labels []*Label `json:"labels"`
4040
Milestone *Milestone `json:"milestone"`
4141
Assignee *User `json:"assignee"`
42+
Assignees []*User `json:"assignees"`
4243
// Whether the issue is open or closed
4344
//
4445
// type: string

gitea/pull.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type PullRequest struct {
2222
Labels []*Label `json:"labels"`
2323
Milestone *Milestone `json:"milestone"`
2424
Assignee *User `json:"assignee"`
25+
Assignees []*User `json:"assignees"`
2526
State StateType `json:"state"`
2627
Comments int `json:"comments"`
2728

0 commit comments

Comments
 (0)