Skip to content

Commit

Permalink
add ConfirmedAt to Email
Browse files Browse the repository at this point in the history
  • Loading branch information
mycrEEpy committed Nov 15, 2022
1 parent 3ef2120 commit a258c40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions users.go
Expand Up @@ -745,8 +745,9 @@ func (s *UsersService) DeleteGPGKeyForUser(user, key int, options ...RequestOpti
//
// GitLab API docs: https://docs.gitlab.com/ce/api/users.html#list-emails
type Email struct {
ID int `json:"id"`
Email string `json:"email"`
ID int `json:"id"`
Email string `json:"email"`
ConfirmedAt *time.Time `json:"confirmed_at"`
}

// ListEmails gets a list of currently authenticated user's Emails.
Expand Down

0 comments on commit a258c40

Please sign in to comment.