Skip to content

Commit f00615f

Browse files
committedSep 4, 2020
fix disk
1 parent b304f4e commit f00615f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/HasProfilePhoto.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function updateProfilePhoto(UploadedFile $photo)
1818
tap($this->profile_photo_path, function ($previous) use ($photo) {
1919
$this->forceFill([
2020
'profile_photo_path' => $photo->storePublicly(
21-
'profile-photos', $this->profilePhotoDisk()
21+
'profile-photos', ['disk' => $this->profilePhotoDisk()]
2222
),
2323
])->save();
2424

0 commit comments

Comments
 (0)