Skip to content

Commit 1993c83

Browse files
Update ModelObserver.php
1 parent 7ecd4aa commit 1993c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Observers/ModelObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function saved(Model $model)
2020
}
2121

2222
$upload = upload(
23-
$attribute->get(),
23+
$attribute->getValue(),
2424
$model->getFileOptions($attribute->getName())
2525
);
2626

0 commit comments

Comments
 (0)