diff --git a/src/pages/author/[slug]/index.astro b/src/pages/author/[slug]/index.astro index 8340e51d..efcd8ffd 100644 --- a/src/pages/author/[slug]/index.astro +++ b/src/pages/author/[slug]/index.astro @@ -6,7 +6,7 @@ import { initRouter } from '../../../stores/router' import { PRERENDERED_ARTICLES_COUNT } from '../../../components/Views/Author' const slug = Astro.params.slug.toString() -const shouts = await apiClient.loadShoutsBy({ by: { authors: [slug] } , limit: PRERENDERED_ARTICLES_COUNT }) +const shouts = await apiClient.loadShoutsBy({ by: { author: slug } , limit: PRERENDERED_ARTICLES_COUNT }) const author = await apiClient.loadAuthorsBy({ by: { slug } }) const { pathname, search } = Astro.url