Fixed scene chapter photos not curated.

This commit is contained in:
2026-02-08 02:02:14 +01:00
parent 09ed130327
commit 2d4d2b1105

View File

@@ -92,7 +92,7 @@ function curateScene(rawScene, assets, reqUser, context) {
duration: chapter.duration,
poster: context.restriction
? null
: (chapter.chapter_poster),
: curateMedia(chapter.chapter_poster, { type: 'poster' }),
tags: chapter.chapter_tags.map((tag) => ({
id: tag.id,
name: tag.name,