diff --git a/framework/core/src/Api/Actions/Discussions/CreateAction.php b/framework/core/src/Api/Actions/Discussions/CreateAction.php index a063b1b36..7115cde1d 100644 --- a/framework/core/src/Api/Actions/Discussions/CreateAction.php +++ b/framework/core/src/Api/Actions/Discussions/CreateAction.php @@ -33,7 +33,7 @@ class CreateAction extends BaseAction $this->dispatch($command, $params); } - $serializer = new DiscussionSerializer(['posts']); + $serializer = new DiscussionSerializer(['posts', 'startUser', 'lastUser', 'startPost', 'lastPost']); $document = $this->document()->setData($serializer->resource($discussion)); return $this->respondWithDocument($document);