profile shouts fix 1
This commit is contained in:
parent
42cfc02ef6
commit
0652c204b5
|
@ -7,7 +7,7 @@ export const onBeforeRender = async (pageContext: PageContext) => {
|
||||||
const { slug } = pageContext.routeParams
|
const { slug } = pageContext.routeParams
|
||||||
|
|
||||||
const authorShouts = await apiClient.getShouts({
|
const authorShouts = await apiClient.getShouts({
|
||||||
filters: { author: slug },
|
filters: { author: slug, visibility: 'community' },
|
||||||
limit: PRERENDERED_ARTICLES_COUNT
|
limit: PRERENDERED_ARTICLES_COUNT
|
||||||
})
|
})
|
||||||
const author = await apiClient.getAuthor({ slug })
|
const author = await apiClient.getAuthor({ slug })
|
||||||
|
|
Loading…
Reference in New Issue
Block a user