factory fix

This commit is contained in:
tmshv committed 2021-09-22 15:14:48 +03:00
1 parent 3f49183997
commit e68a55c73d
1 file changed
+1
+1
View File
@@ -119,6 +119,7 @@ export async function createPage(res: StrapiPage | StrapiPage[]): Promise<IPage
name: tag.name,
slug: tag.slug,
href: `/tags/${tag.slug}`,
count: 0,
}))
const tokens = await Promise.all(item.content.map(createPageToken))