From 50afa921b5b7c7820086960428b14678e86e67cf Mon Sep 17 00:00:00 2001 From: Ed Tan Date: Sat, 6 Oct 2018 12:13:55 -0400 Subject: [PATCH] Remove unused DisplayName --- connector/bitbucketcloud/bitbucketcloud.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/connector/bitbucketcloud/bitbucketcloud.go b/connector/bitbucketcloud/bitbucketcloud.go index 0b3b1ba4..27a63c46 100644 --- a/connector/bitbucketcloud/bitbucketcloud.go +++ b/connector/bitbucketcloud/bitbucketcloud.go @@ -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.