Skip to content

Commit

Permalink
Make email, lastname and firstname fields optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sahaqaa committed Aug 5, 2024
1 parent 3842d7c commit 1eff172
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cloudconnexa/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ type User struct {
Id string `json:"id"`
Username string `json:"username"`
Role string `json:"role"`
Email string `json:"email"`
Email string `json:"email,omitempty"`
AuthType string `json:"authType"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`
GroupId string `json:"groupId"`
Status string `json:"status"`
Devices []Device `json:"devices"`
Expand Down

0 comments on commit 1eff172

Please sign in to comment.