From f00615f26d59e7adf16c889207c054ab079f462a Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 4 Sep 2020 10:04:56 -0500 Subject: [PATCH] fix disk --- src/HasProfilePhoto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();