Add profile avatar uploads
This commit is contained in:
@@ -18,6 +18,9 @@ class UserResource extends JsonResource
|
||||
'id' => $this->id,
|
||||
'name' => $this->name,
|
||||
'email' => $this->email,
|
||||
'avatar' => $this->avatar,
|
||||
'avatar_color' => $this->avatar_color,
|
||||
'avatar_is_generated' => (bool) $this->avatar_is_generated,
|
||||
'email_verified_at' => $this->email_verified_at?->toISOString(),
|
||||
'must_change_password_on_next_login' => (bool) $this->must_change_password_on_next_login,
|
||||
'created_at' => $this->created_at?->toISOString(),
|
||||
|
||||
Reference in New Issue
Block a user