Show subsite posts in the main site

I would like to show my subsite posts on my main site. I'm using this code

<?php $blogs = get_last_updated();

foreach ($blogs AS $blog) { 

switch_to_blog($blog["blog_id"]);

$lastposts = get_posts( array(
'post_type' => 'athlete_profile',
'post_status' => 'publish'
));

foreach($lastposts as $post) : ?>

<a href="<?php echo get_permalink(); ?>"><?php echo get_permalink(); ?></a></h3></br>

<?php endforeach;

restore_current_blog();
}

?>

When I try to show the author name echo get_author, it shows me the Super Admin name.

See the page https://++++++.online/latest/

Can you help me with this?

Thanks in Advance.