fix: filter video definitions

This commit is contained in:
TrèsAbhi committed 2024-05-03 10:35:29 -05:00
1 parent 6a1b786dae
commit b151c7483a
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(',')}`,