diff --git a/src/Http/Controllers/ProfileAvatarController.php b/src/Http/Controllers/ProfileAvatarController.php index 3e5f93417..af328350c 100644 --- a/src/Http/Controllers/ProfileAvatarController.php +++ b/src/Http/Controllers/ProfileAvatarController.php @@ -23,7 +23,6 @@ public function __invoke(ProfileAvatarRequest $request) $user->{$request::$userAvatarAttribute} = $path; $user->save(); - $user->{ProfileAvatarRequest::$userAvatarAttribute} = url($user->{ProfileAvatarRequest::$userAvatarAttribute}); return $this->response()->data($user);