Skip to content

Commit

Permalink
fix disk
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 4, 2020
1 parent b304f4e commit f00615f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HasProfilePhoto.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit f00615f

Please sign in to comment.