Fix lint
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2020-10-10 16:15:26 +02:00
parent e8a6a0b8de
commit da4d0d7825
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,9 @@ func (p *Provider) GetAvatar(u *user.User, size int64) (avatar []byte, mimeType
}
avatar, err = ioutil.ReadAll(buf)
if err != nil {
return nil, "", err
}
cached[size] = avatar
err = keyvalue.Put(cacheKey, cached)
return avatar, f.Mime, err