diff --git a/app/http/endpoints/root/callback.go b/app/http/endpoints/root/callback.go index e04e8ed..fde3372 100644 --- a/app/http/endpoints/root/callback.go +++ b/app/http/endpoints/root/callback.go @@ -75,7 +75,7 @@ func CallbackHandler(ctx *gin.Context) { store.Set("userid", currentUser.Id) store.Set("name", currentUser.Username) - store.Set("avatar", fmt.Sprintf("https://cdn.discordapp.com/avatars/%s/%s.webp", currentUser.Id, currentUser.Avatar)) + store.Set("avatar", fmt.Sprintf("https://cdn.discordapp.com/avatars/%d/%s.webp", currentUser.Id, currentUser.Avatar)) if err = store.Save(); err != nil { log.Error(err.Error()) }