wzq 5 lat temu
rodzic
commit
aba7d0edb4
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/Transformers/Post/DetailTransformer.php

+ 1 - 0
app/Transformers/Post/DetailTransformer.php

@@ -51,6 +51,7 @@ class DetailTransformer extends TransformerAbstract
             'username' => subtext($post['username'], 10),
             'avatar' => $post['avatar'],
             'topic' => $topic,
+            'topic_ids' => $post['topic_ids'],
             'title' => $post['title'],
             'content' => $post['content'],
             'location' => $post['location'],