diff --git a/src/releases.js b/src/releases.js index 83fec577..a4668aa8 100644 --- a/src/releases.js +++ b/src/releases.js @@ -52,6 +52,13 @@ const releaseFields = ` duration title description + tags: chaptersTags { + tag { + id + name + slug + } + } poster: chaptersPosterByChapterId { media { id @@ -204,6 +211,7 @@ function curateGraphqlRelease(release) { tags: release.tags.map(tag => tag.tag), ...(release.chapters && { chapters: release.chapters.map(chapter => ({ ...chapter, + tags: chapter.tags.map(tag => tag.tag), poster: chapter.poster?.media || null, photos: chapter.photos.map(photo => photo.media), })) }),