forked from DebaucheryLibrarian/traxxx
Updated object-merge-advanced API use.
This commit is contained in:
parent
0427e1e276
commit
aacfd1b29d
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
const Promise = require('bluebird');
|
||||
const merge = require('object-merge-advanced');
|
||||
const { mergeAdvanced: merge } = require('object-merge-advanced');
|
||||
|
||||
const argv = require('./argv');
|
||||
const include = require('./utils/argv-include')(argv);
|
||||
|
@ -130,6 +130,8 @@ async function scrapeRelease(baseRelease, entitiesBySlug, type = 'scene') {
|
|||
}),
|
||||
}), {});
|
||||
|
||||
console.log(merge);
|
||||
|
||||
const mergedRelease = {
|
||||
...merge(baseRelease, curatedScrapedRelease, {
|
||||
dedupeStringsInArrayValues: true,
|
||||
|
|
Loading…
Reference in New Issue