File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ type MergeRequestEventPayload struct {
5757 Project Project `json:"project"`
5858 Repository Repository `json:"repository"`
5959 Labels []Label `json:"labels"`
60+ Assignees []Assignee `json:"assignees"`
6061}
6162
6263// PushEventPayload contains the information for GitLab's push event
@@ -449,9 +450,11 @@ type MergeRequest struct {
449450
450451// Assignee contains all of the GitLab assignee information
451452type Assignee struct {
453+ ID int64 `json:"id"`
452454 Name string `json:"name"`
453455 Username string `json:"username"`
454456 AvatarURL string `json:"avatar_url"`
457+ Email string `json:"email"`
455458}
456459
457460// StDiff contains all of the GitLab diff information
Original file line number Diff line number Diff line change 136136 "group_id" : 41
137137 }]
138138 }
139- }
139+ },
140+ "assignees" : [
141+ {
142+ "id" : 6 ,
143+ "name" : " User1" ,
144+ "username" : " user1" ,
145+ "avatar_url" : " http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026 d=identicon" ,
146+ 147+ }
148+ ]
140149}
You can’t perform that action at this time.
0 commit comments