Browse Source

fix

master
Daniel 1 year ago
parent
commit
42de50bee1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Mapper/PartnerProductEntityToApiMapper.php

+ 1
- 1
src/Mapper/PartnerProductEntityToApiMapper.php View 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,
]);



Loading…
Cancel
Save