Add default avatar size

This commit is contained in:
kolaente 2020-03-01 20:47:10 +01:00
parent 6861e55e89
commit 4a17557325
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func GetAvatar(c echo.Context) error {
avatarProvider := gravatar.Provider{}
size := c.QueryParam("size")
var sizeInt int64
var sizeInt int64 = 250 // Default size of 250
if size != "" {
sizeInt, err = strconv.ParseInt(size, 10, 64)
if err != nil {