Add omitempty flag to InfoRequest.Avatar

This commit is contained in:
blide 2018-09-09 20:00:55 +03:00
parent a917003a6f
commit fb1ec00bc9

View File

@ -148,7 +148,7 @@ type (
InfoRequest struct { InfoRequest struct {
Name string `url:"name,omitempty" json:"name"` Name string `url:"name,omitempty" json:"name"`
Avatar string `url:"avatar_url,omitempty" json:"avatar_url"` Avatar string `url:"avatar_url,omitempty" json:"avatar_url,omitempty"`
Roles []string `url:"roles,omitempty" json:"roles"` Roles []string `url:"roles,omitempty" json:"roles"`
} }