fix(app): build script
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 3m11s

This commit is contained in:
2024-04-24 03:12:13 +02:00
parent db54141b41
commit 2e726a65f8
6 changed files with 16 additions and 16 deletions

View File

@@ -9,7 +9,7 @@ export const entries: EntryGenerator = async () => {
return users.map(user => {
return user.collections.map(collection => {
return collection.nodes.map(node => {
return { user: user.id, collection: collection.id, node: node.id }
return { user: user.id, collection: collection.id.split("/")[1], node: node.id.split("/")[2] }
});
})
}).flat(2);