diff --git a/src/Api/Controller/ListPostsController.php b/src/Api/Controller/ListPostsController.php index 5c732bc6f1..cdaeef0a50 100644 --- a/src/Api/Controller/ListPostsController.php +++ b/src/Api/Controller/ListPostsController.php @@ -147,6 +147,8 @@ private function applyFilters(Builder $query, array $filter) $query->where('type', $type); } + $query->where('is_private', false); + event(new ConfigurePostsQuery($query, $filter)); } }