Skip to content

Commit

Permalink
Unexpected behaviour from github
Browse files Browse the repository at this point in the history
I though the following lines would have been deleted by previous PR :
l181
l182
l183
  • Loading branch information
yyewolf committed Jan 25, 2021
1 parent 2ab31f9 commit fa6d749
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 fa6d749

Please sign in to comment.