Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Remove URL field and improve formatting of *Href line.
Browse files Browse the repository at this point in the history
  • Loading branch information
cprivite committed Nov 23, 2021
1 parent c09c459 commit de14c3a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand All @@ -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
Expand Down

0 comments on commit de14c3a

Please sign in to comment.