Daniel 1 anno fa
parent
commit
42de50bee1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/Mapper/PartnerProductEntityToApiMapper.php

+ 1
- 1
src/Mapper/PartnerProductEntityToApiMapper.php Vedi File

@@ -41,7 +41,7 @@ class PartnerProductEntityToApiMapper implements MapperInterface
MicroMapperInterface::MAX_DEPTH => 1,
]);

$dto->productIri = $dto->partner = $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [
$dto->productIri = $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [
MicroMapperInterface::MAX_DEPTH => 1,
]);



Caricamento…
Annulla
Salva