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