Skip to content

Commit

Permalink
Replaced path with inputUri
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Dec 10, 2024
1 parent 342ace7 commit e1c5513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle/Controller/AssetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function uploadImageAction(Request $request): Response
$content = $this->imageAssetMapper->createAsset(
$file->getClientOriginalName(),
new ImageValue([
'path' => $file->getRealPath(),
'inputUri' => $file->getRealPath(),
'fileSize' => $file->getSize(),
'fileName' => $file->getClientOriginalName(),
'alternativeText' => $file->getClientOriginalName(),
Expand Down

0 comments on commit e1c5513

Please sign in to comment.