Skip to content

Commit e1c5513

Browse files
committed
Replaced path with inputUri
1 parent 342ace7 commit e1c5513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Controller/AssetController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function uploadImageAction(Request $request): Response
8383
$content = $this->imageAssetMapper->createAsset(
8484
$file->getClientOriginalName(),
8585
new ImageValue([
86-
'path' => $file->getRealPath(),
86+
'inputUri' => $file->getRealPath(),
8787
'fileSize' => $file->getSize(),
8888
'fileName' => $file->getClientOriginalName(),
8989
'alternativeText' => $file->getClientOriginalName(),

0 commit comments

Comments
 (0)