wzq %!s(int64=5) %!d(string=hai) anos
pai
achega
d4495e2780
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {