forked from DebaucheryLibrarian/traxxx
Changed deep merge so base release photos are only used when no deep photos are available.
This commit is contained in:
parent
16de5e2a2c
commit
cd98b9d147
|
@ -190,6 +190,9 @@ async function scrapeRelease(baseRelease, entitiesBySlug, type = 'scene') {
|
|||
dedupeStringsInArrayValues: true,
|
||||
hardMergeKeys: ['actors', 'covers', 'poster', 'trailer', 'teaser'],
|
||||
}),
|
||||
photos: curatedScrapedRelease.photos?.length > 0
|
||||
? curatedScrapedRelease.photos
|
||||
: baseRelease.photos,
|
||||
deep: !!scrapedRelease,
|
||||
entity,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue