Skip to content

Commit 4399abf

Browse files
author
Muhammad Fadhlika
committed
add id and email in gitlab user
1 parent 3c38273 commit 4399abf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitlab/payload.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,11 @@ type Snippet struct {
283283

284284
// User contains all of the GitLab user information
285285
type User struct {
286+
ID int64 `json:"id"`
286287
Name string `json:"name"`
287288
UserName string `json:"username"`
288289
AvatarURL string `json:"avatar_url"`
290+
Email string `json:"email"`
289291
}
290292

291293
// Project contains all of the GitLab project information

0 commit comments

Comments
 (0)