浏览代码

fix posting

master
Florian Eisenmenger 2 年前
父节点
当前提交
a90dad9492
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/Mapper/CommentEntityToApiMapper.php

+ 1
- 1
src/Mapper/CommentEntityToApiMapper.php 查看文件

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



正在加载...
取消
保存