Skip to content

Commit

Permalink
[Discord] changed to the new cdn path (#20)
Browse files Browse the repository at this point in the history
ムjakeム - Jan 8th, 2017
@shylor we don't use discordcdn.com anymore.
  • Loading branch information
shylor authored and faustbrian committed Jan 10, 2017
1 parent a7db238 commit 3862d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function mapUserToObject(array $user)
'nickname' => sprintf('%s#%d', $user['username'], $user['discriminator']),
'name' => $user['username'],
'email' => $user['email'],
'avatar' => (is_null($user['avatar'])) ? null : sprintf('https://discordcdn.com/avatars/%s/%s.jpg', $user['id'], $user['avatar']),
'avatar' => (is_null($user['avatar'])) ? null : sprintf('https://cdn.discordapp.com/avatars/%s/%s.jpg', $user['id'], $user['avatar']),
]);
}

Expand Down

0 comments on commit 3862d1b

Please sign in to comment.