profile shouts fix 1

This commit is contained in:
Igor Lobanov 2023-10-25 15:57:21 +02:00
parent 42cfc02ef6
commit 0652c204b5

View File

@ -7,7 +7,7 @@ export const onBeforeRender = async (pageContext: PageContext) => {
const { slug } = pageContext.routeParams
const authorShouts = await apiClient.getShouts({
filters: { author: slug },
filters: { author: slug, visibility: 'community' },
limit: PRERENDERED_ARTICLES_COUNT
})
const author = await apiClient.getAuthor({ slug })