Skip to content

Commit

Permalink
Merge pull request #393 from yyewolf/master
Browse files Browse the repository at this point in the history
Unexpected behaviour from github
  • Loading branch information
bentranter authored Jan 29, 2021
2 parents bf1ebb2 + fa6d749 commit f715d30
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions providers/discord/discord.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,6 @@ func userFromReader(r io.Reader, user *goth.User) error {
user.Name = u.Name
user.Email = u.Email
user.UserID = u.ID
if u.AvatarID != "" {
user.AvatarURL = "https://media.discordapp.net/avatars/" + u.ID + "/" + u.AvatarID + ".jpg"
}

return nil
}
Expand Down

0 comments on commit f715d30

Please sign in to comment.