From de14c3a5894ee4b720d170092f195b0fe425b219 Mon Sep 17 00:00:00 2001 From: cprivite Date: Tue, 23 Nov 2021 14:39:03 -0600 Subject: [PATCH] Remove URL field and improve formatting of *Href line. --- user.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/user.go b/user.go index f55ca63f..3d8ae832 100644 --- a/user.go +++ b/user.go @@ -70,7 +70,7 @@ type User struct { // UserLite is an abbreviated listing of an Equinix Metal user type UserLite struct { - *Href `json:",inline"` + *Href `json:",inline"` ID string `json:"id"` ShortID string `json:"short_id"` FirstName string `json:"first_name,omitempty"` @@ -81,7 +81,6 @@ type UserLite struct { UpdatedAt *Timestamp `json:"updated_at,omitempty"` Level string `json:"level,omitempty"` AvatarThumbURL string `json:"avatar_thumb_url,omitempty"` - URL string `json:"href,omitempty"` } // UserUpdateRequest struct for UserService.Update