Skip to content

Commit

Permalink
Merge pull request #1575 from mycrEEpy/email-confirmed-at
Browse files Browse the repository at this point in the history
Add ConfirmedAt to Email
  • Loading branch information
svanharmelen committed Nov 18, 2022
2 parents 710f287 + a258c40 commit d21dc36
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 d21dc36

Please sign in to comment.