Remove unused DisplayName

This commit is contained in:
Ed Tan 2018-10-06 12:13:55 -04:00
parent 6ffc8fcd8d
commit 50afa921b5
1 changed files with 3 additions and 4 deletions

View File

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