Explorar el Código

fix posting

master
Florian Eisenmenger hace 2 años
padre
commit
a90dad9492
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/Mapper/CommentEntityToApiMapper.php

+ 1
- 1
src/Mapper/CommentEntityToApiMapper.php Ver fichero

@@ -44,7 +44,7 @@ class CommentEntityToApiMapper implements MapperInterface
]);
$dto->ownerName = $entity->getOwner()?->getFirstName()." ".$entity->getOwner()?->getLastName();

$dto->posting = $this->microMapper->map($entity->getPosting(), PostingApi::class, [
$dto->post = $this->microMapper->map($entity->getPosting(), PostingApi::class, [
MicroMapperInterface::MAX_DEPTH => 1,
]);



Cargando…
Cancelar
Guardar