Remove unused DisplayName

This commit is contained in:
Ed Tan 2018-10-06 12:13:55 -04:00
parent 6ffc8fcd8d
commit 50afa921b5

View file

@ -275,10 +275,9 @@ type pagedResponse struct {
// user holds Bitbucket user information (relevant to dex) as defined by // user holds Bitbucket user information (relevant to dex) as defined by
// https://developer.atlassian.com/bitbucket/api/2/reference/resource/user // https://developer.atlassian.com/bitbucket/api/2/reference/resource/user
type user struct { type user struct {
Username string `json:"username"` Username string `json:"username"`
DisplayName string `json:"display_name"` UUID string `json:"uuid"`
UUID string `json:"uuid"` Email string `json:"email"`
Email string `json:"email"`
} }
// user queries the Bitbucket API for profile information using the provided client. // user queries the Bitbucket API for profile information using the provided client.