Skip to content

Commit

Permalink
clean more
Browse files Browse the repository at this point in the history
  • Loading branch information
cea2aj committed May 7, 2021
1 parent 51f5fac commit 148666b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ function getCleanedJamboInjectedData (data) {

Object.values(experiences).forEach(config => {
removeApiKeyFromConfig(config);
if (!('configByLabel' in config)) {
return;
if ('configByLabel' in config) {
Object.values(config.configByLabel).forEach(removeApiKeyFromConfig);
}
Object.values(config.configByLabel).forEach(removeApiKeyFromConfig);
});
return updatedData;
}
Expand Down

0 comments on commit 148666b

Please sign in to comment.