mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-03 19:54:14 +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