From 7ac914eb4e4d59c2a4d83f2416a66a752eb4567c Mon Sep 17 00:00:00 2001 From: raccoon254 Date: Mon, 17 Jun 2024 10:02:42 +0300 Subject: [PATCH] Change user images to identicon shapes --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index b6f9bca..8bc3324 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -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