Skip to content

Commit

Permalink
Change user images to identicon shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed Jun 17, 2024
1 parent 3517f81 commit 7ac914e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function referrals(): HasMany

public function getAvatarAttribute(): string
{
return 'https://api.dicebear.com/8.x/avataaars/svg?seed=' . $this->name;
return 'https://api.dicebear.com/8.x/identicon/svg?seed=' . $this->name .'rowColor=fff';
}

public function getProfilePhotoAttribute(): string
Expand Down

0 comments on commit 7ac914e

Please sign in to comment.