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 3, 2024
1 parent c07fce5 commit 91e4746
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 91e4746

Please sign in to comment.