Daniel 1 rok temu
rodzic
commit
42de50bee1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/Mapper/PartnerProductEntityToApiMapper.php

+ 1
- 1
src/Mapper/PartnerProductEntityToApiMapper.php Wyświetl plik

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



Ładowanie…
Anuluj
Zapisz