Make name on userResponse required
Signed-off-by: Michael de Sa <mjdesa@gmail.com>pull/2099/head
parent
35d6f0b8c3
commit
1b250ebfa9
|
@ -41,7 +41,7 @@ func (r *userRequest) ValidUpdate() error {
|
|||
type userResponse struct {
|
||||
Links selfLinks `json:"links"`
|
||||
ID uint64 `json:"id,string"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Provider string `json:"provider,omitempty"`
|
||||
Scheme string `json:"scheme,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue