Hard merging covers to preserve order.

This commit is contained in:
DebaucheryLibrarian 2021-02-02 03:10:58 +01:00
parent 55cadcfe82
commit 3bbc5a5e87
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ async function scrapeRelease(baseRelease, entitiesBySlug, type = 'scene') {
const mergedRelease = {
...merge(baseRelease, curatedScrapedRelease, {
dedupeStringsInArrayValues: true,
hardMergeKeys: ['actors', 'poster', 'trailer', 'teaser'],
hardMergeKeys: ['actors', 'covers', 'poster', 'trailer', 'teaser'],
}),
deep: !!scrapedRelease,
entity,