mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 08:35:18 +00:00
Get the comments associated to a post
This commit is contained in:
@ -33,7 +33,10 @@ class postsController {
|
||||
//Get visibility level for the post
|
||||
$visibility_level = CS::get()->components->posts->getUserVisibility(userID, $userID);
|
||||
|
||||
return CS::get()->components->posts->getUserPosts(userID, $userID, $visibility_level, $startFrom);
|
||||
//Get the post of the user
|
||||
$posts = CS::get()->components->posts->getUserPosts(userID, $userID, $visibility_level, $startFrom);
|
||||
|
||||
return $posts;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user