diff --git a/src/ApiPlatform/Resources/Module/UploadModule.php b/src/ApiPlatform/Resources/Module/UploadModule.php index 66d41dc..94fc3a6 100644 --- a/src/ApiPlatform/Resources/Module/UploadModule.php +++ b/src/ApiPlatform/Resources/Module/UploadModule.php @@ -47,7 +47,7 @@ 'module_write', ], CQRSCommandMapping: [ - '[archive][pathName]' => '[source]', + '[archive].pathName' => '[source]', ], ), ], diff --git a/src/ApiPlatform/Resources/Product/NewProductImage.php b/src/ApiPlatform/Resources/Product/NewProductImage.php index 7bfd39f..5339c94 100644 --- a/src/ApiPlatform/Resources/Product/NewProductImage.php +++ b/src/ApiPlatform/Resources/Product/NewProductImage.php @@ -43,7 +43,7 @@ CQRSQueryMapping: NewProductImage::QUERY_MAPPING, CQRSCommandMapping: [ '[_context][shopConstraint]' => '[shopConstraint]', - '[image][pathName]' => '[pathName]', + '[image].pathName' => '[pathName]', ], ), ], diff --git a/src/ApiPlatform/Resources/Product/ProductImage.php b/src/ApiPlatform/Resources/Product/ProductImage.php index b6630d1..053b245 100644 --- a/src/ApiPlatform/Resources/Product/ProductImage.php +++ b/src/ApiPlatform/Resources/Product/ProductImage.php @@ -58,7 +58,7 @@ CQRSQueryMapping: ProductImage::QUERY_MAPPING, CQRSCommandMapping: [ '[_context][shopConstraint]' => '[shopConstraint]', - '[image][pathName]' => '[filePath]', + '[image].pathName' => '[filePath]', '[legends]' => '[localizedLegends]', '[cover]' => '[isCover]', ]