fix save avatar msg

This commit is contained in:
Umputun
2018-02-14 15:52:11 -06:00
parent f4944f2fb5
commit 20a1047709
+1 -1
View File
@@ -73,7 +73,7 @@ func (p *Proxy) Put(u store.User) (avatarURL string, err error) {
return "", errors.Wrapf(err, "can't save file %s", avFile)
}
log.Printf("[DEBUG] saved avatar from %s to %s, user %q", avatarURL, avFile, u.Name)
log.Printf("[DEBUG] saved avatar from %s to %s, user %q", u.Picture, avFile, u.Name)
return p.RoutePath + "/" + u.ID + ".image", nil
}