|
@@ -140,7 +140,8 @@ class PostController extends Controller
|
|
|
}else{
|
|
|
$uid = $userInfo['uid'];
|
|
|
}
|
|
|
- $list = $this->postRepositories->myPost($request['type'], $uid);
|
|
|
+
|
|
|
+ $list = $this->postRepositories->myPost($param, $uid);
|
|
|
$fractal = new Manager();
|
|
|
$resource = new Collection($list, new MyTransformer());
|
|
|
$resource->setPaginator(new IlluminatePaginatorAdapter($list));
|