Przeglądaj źródła

fix posting

master
Florian Eisenmenger 2 lat temu
rodzic
commit
a90dad9492
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/Mapper/CommentEntityToApiMapper.php

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

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



Ładowanie…
Anuluj
Zapisz