fix: filter video definitions

This commit is contained in:
TrèsAbhi committed 2024-05-03 11:49:22 -05:00
1 parent 65014cade3
commit ed9b61c97d
1 file changed
+1
+1
View File
@@ -128,6 +128,7 @@ export async function videos(production: boolean) {
}
const content = Object.entries(videos)
.filter(([_, { videos }]) => videos.length > 0)
.map(
([id, { videos, lastUpdated }]) =>
`${id},${lastUpdated},${videos.join(',')}`,