We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 342ace7 commit e1c5513Copy full SHA for e1c5513
src/bundle/Controller/AssetController.php
@@ -83,7 +83,7 @@ public function uploadImageAction(Request $request): Response
83
$content = $this->imageAssetMapper->createAsset(
84
$file->getClientOriginalName(),
85
new ImageValue([
86
- 'path' => $file->getRealPath(),
+ 'inputUri' => $file->getRealPath(),
87
'fileSize' => $file->getSize(),
88
'fileName' => $file->getClientOriginalName(),
89
'alternativeText' => $file->getClientOriginalName(),
0 commit comments