Make name on userResponse required

Signed-off-by: Michael de Sa <mjdesa@gmail.com>
pull/2099/head
Jared Scheib 2017-10-10 14:15:31 -07:00 committed by Michael de Sa
parent 35d6f0b8c3
commit 1b250ebfa9
1 changed files with 1 additions and 1 deletions

View File

@ -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"`
}