Beautify as AVMG wishes spacespacespaceenter
This commit is contained in:
parent
228d55c389
commit
6325cd8f87
1 changed files with 3 additions and 2 deletions
|
@ -213,11 +213,12 @@ class User extends Authenticatable implements MustVerifyEmail
|
|||
*/
|
||||
public function getAvatar()
|
||||
{
|
||||
if ($this->discordUser()->exists()){
|
||||
if ($this->discordUser()->exists()) {
|
||||
$avatar = $this->discordUser->getAvatar();
|
||||
}else{
|
||||
} else {
|
||||
$avatar = "https://www.gravatar.com/avatar/" . md5(strtolower(trim($this->email)));
|
||||
}
|
||||
|
||||
return $avatar;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue