diff --git a/src/bundle/Controller/AssetController.php b/src/bundle/Controller/AssetController.php index 21d9161f69..f4d99e178d 100644 --- a/src/bundle/Controller/AssetController.php +++ b/src/bundle/Controller/AssetController.php @@ -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(),