Merge pull request #282 from Discours/fix/profile_articles
profile shouts fix 1
This commit is contained in:
commit
ea1de20466
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue
Block a user