wzq il y a 5 ans
Parent
commit
d4495e2780
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Repositories/Post/PostRepository.php

+ 1 - 1
app/Repositories/Post/PostRepository.php

@@ -511,7 +511,7 @@ class PostRepository
 
         return $post
             ->join('post_data', 'post_data.post_id', '=', 'post.id')
-            ->with(['data', 'topic'])
+            ->with('data')
             ->select('post.*')
             ->where($where)
             ->where(function ($query) use ($request) {