File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ type MergeRequestEventPayload struct {
57
57
Project Project `json:"project"`
58
58
Repository Repository `json:"repository"`
59
59
Labels []Label `json:"labels"`
60
+ Assignees []Assignee `json:"assignees"`
60
61
}
61
62
62
63
// PushEventPayload contains the information for GitLab's push event
@@ -449,9 +450,11 @@ type MergeRequest struct {
449
450
450
451
// Assignee contains all of the GitLab assignee information
451
452
type Assignee struct {
453
+ ID int64 `json:"id"`
452
454
Name string `json:"name"`
453
455
Username string `json:"username"`
454
456
AvatarURL string `json:"avatar_url"`
457
+ Email string `json:"email"`
455
458
}
456
459
457
460
// StDiff contains all of the GitLab diff information
Original file line number Diff line number Diff line change 136
136
"group_id" : 41
137
137
}]
138
138
}
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
+ ]
140
149
}
You can’t perform that action at this time.
0 commit comments