forked from DebaucheryLibrarian/traxxx
Hard merging covers to preserve order.
This commit is contained in:
parent
55cadcfe82
commit
3bbc5a5e87
|
@ -115,7 +115,7 @@ async function scrapeRelease(baseRelease, entitiesBySlug, type = 'scene') {
|
||||||
const mergedRelease = {
|
const mergedRelease = {
|
||||||
...merge(baseRelease, curatedScrapedRelease, {
|
...merge(baseRelease, curatedScrapedRelease, {
|
||||||
dedupeStringsInArrayValues: true,
|
dedupeStringsInArrayValues: true,
|
||||||
hardMergeKeys: ['actors', 'poster', 'trailer', 'teaser'],
|
hardMergeKeys: ['actors', 'covers', 'poster', 'trailer', 'teaser'],
|
||||||
}),
|
}),
|
||||||
deep: !!scrapedRelease,
|
deep: !!scrapedRelease,
|
||||||
entity,
|
entity,
|
||||||
|
|
Loading…
Reference in New Issue