diff --git a/src/HasProfilePhoto.php b/src/HasProfilePhoto.php index 117435957..1cb4ef987 100644 --- a/src/HasProfilePhoto.php +++ b/src/HasProfilePhoto.php @@ -18,7 +18,7 @@ public function updateProfilePhoto(UploadedFile $photo) tap($this->profile_photo_path, function ($previous) use ($photo) { $this->forceFill([ 'profile_photo_path' => $photo->storePublicly( - 'profile-photos', $this->profilePhotoDisk() + 'profile-photos', ['disk' => $this->profilePhotoDisk()] ), ])->save();