Skip to content

Commit

Permalink
Fix upload of assets (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
aerni authored May 23, 2024
1 parent d0c7a6e commit a43f731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fields/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function dimensionsProperty(): array
public function process(): mixed
{
$this->value = collect($this->value)
->flatMap(fn ($file) => AssetsUploader::field($this->handle)->upload($file));
->flatMap(fn ($file) => AssetsUploader::field($this->field)->upload($file));

return parent::process();
}
Expand Down

0 comments on commit a43f731

Please sign in to comment.