Skip to content

Commit 7ce0678

Browse files
izumin5210gmlewis
authored andcommitted
Add Visibility to UserEmail (#1215)
1 parent 0ffc27d commit 7ce0678

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/users_emails.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ import "context"
99

1010
// UserEmail represents user's email address
1111
type UserEmail struct {
12-
Email *string `json:"email,omitempty"`
13-
Primary *bool `json:"primary,omitempty"`
14-
Verified *bool `json:"verified,omitempty"`
12+
Email *string `json:"email,omitempty"`
13+
Primary *bool `json:"primary,omitempty"`
14+
Verified *bool `json:"verified,omitempty"`
15+
Visibility *string `json:"visibility,omitempty"`
1516
}
1617

1718
// ListEmails lists all email addresses for the authenticated user.

0 commit comments

Comments
 (0)