Skip to content

Commit 742585b

Browse files
committed
fixed
1 parent 5476379 commit 742585b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oauth/facebook_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (provider *FacebookProvider) getRawData(token string, photoDimension int) (
5656
buf, _ := ioutil.ReadAll(resp.Body)
5757
err = json.Unmarshal(buf, &response)
5858
if err != nil {
59-
log.Printf(string(buf))
59+
log.Printf("%s", string(buf))
6060
return nil, err
6161
}
6262
response["avatar"] = fmt.Sprintf("https://graph.facebook.com/%s/picture?type=square&width=%d&height=%d", response["id"], photoDimension, photoDimension)

0 commit comments

Comments
 (0)