|
@@ -20,7 +20,7 @@ class PostTopicTransformer extends TransformerAbstract
|
|
'avatar' => $post['avatar'],
|
|
'avatar' => $post['avatar'],
|
|
'topic' => $this->getTopic($post['topic_ids'], 1),
|
|
'topic' => $this->getTopic($post['topic_ids'], 1),
|
|
'img' => $post['img'],
|
|
'img' => $post['img'],
|
|
- 'content' => subtext(strip_tags($post['content']), 20),
|
|
|
|
|
|
+ 'content' => subtext(strip_tags($post['content']), 200),
|
|
];
|
|
];
|
|
}
|
|
}
|
|
}
|
|
}
|