Cleanup commented code

This commit is contained in:
Richard Lewis 2017-02-15 23:11:12 +00:00
parent 971abecece
commit 5e63dffd1b
1 changed files with 1 additions and 5 deletions

View File

@ -403,16 +403,12 @@ func (cli *Client) GetAvatarURL() (url string, err error) {
s := struct {
AvatarURL string `json:"avatar_url"`
}{}
// res, err := cli.MakeRequest("GET", urlPath, nil, &s)
_, err = cli.MakeRequest("GET", urlPath, nil, &s)
if err != nil {
return "", err
}
// if err = json.Unmarshal(res, &s); err != nil {
// return "", err
// }
return s.AvatarURL, nil
}