Browse Source

fix posting

master
Florian Eisenmenger 2 years ago
parent
commit
a90dad9492
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Mapper/CommentEntityToApiMapper.php

+ 1
- 1
src/Mapper/CommentEntityToApiMapper.php View File

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



Loading…
Cancel
Save