public static function getDetails($post_id)
 {
     $result = PostDetails::where('post_id', $post_id)->first();
     if ($result) {
         return $result;
     }
 }
 private function getPostDetail($post_id)
 {
     $post = UserPosts::getPostById($post_id);
     $post_stat = PostDetails::getDetails($post_id);
     return [$post, $post_stat];
 }