wzq 5 년 전
부모
커밋
d4495e2780
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {