From e1c551389f0c9ed22ccb2460b4f1e453e722470e Mon Sep 17 00:00:00 2001 From: Dawid Parafinski Date: Tue, 3 Dec 2024 13:50:07 +0100 Subject: [PATCH] Replaced path with inputUri --- src/bundle/Controller/AssetController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),