Generalized Team Skeet scraper, added MYLF network and various Team Skeet partner channels.
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
function getRecursiveParameters(entity, parameters) {
|
||||
if (entity.parent) {
|
||||
return getRecursiveParameters(entity.parent, { ...parameters, ...entity.parameters });
|
||||
return getRecursiveParameters(entity.parent, { ...entity.parameters, ...parameters });
|
||||
}
|
||||
|
||||
return { ...parameters, ...entity.parameters };
|
||||
return { ...entity.parameters, ...parameters };
|
||||
}
|
||||
|
||||
module.exports = getRecursiveParameters;
|
||||
|
||||
Reference in New Issue
Block a user