Daniel 1 ano atrás
pai
commit
42de50bee1
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/Mapper/PartnerProductEntityToApiMapper.php

+ 1
- 1
src/Mapper/PartnerProductEntityToApiMapper.php Ver arquivo

@@ -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,
]);



Carregando…
Cancelar
Salvar