|
@@ -24,6 +24,7 @@ class CommentTransformer extends TransformerAbstract
|
|
}
|
|
}
|
|
return [
|
|
return [
|
|
'id' => $postComment['id'],
|
|
'id' => $postComment['id'],
|
|
|
|
+ 'post_id' => $postComment['post_id'],
|
|
'parent_id' => $postComment['parent_id'],
|
|
'parent_id' => $postComment['parent_id'],
|
|
'uid' => $postComment['uid'],
|
|
'uid' => $postComment['uid'],
|
|
'username' => $postComment['username'],
|
|
'username' => $postComment['username'],
|