Skip to content

Commit

Permalink
Merge pull request #935 from chrisamador/issue-#899
Browse files Browse the repository at this point in the history
Fixed deepmerge module export naming issue
  • Loading branch information
thinkingserious authored Jun 3, 2019
2 parents 2bce877 + 5f5f362 commit c914d71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/helpers/classes/personalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const EmailAddress = require('./email-address');
const toCamelCase = require('../helpers/to-camel-case');
const toSnakeCase = require('../helpers/to-snake-case');
const deepClone = require('../helpers/deep-clone');
const merge = require('deepmerge');
const deepMerge = require('deepmerge');
const wrapSubstitutions = require('../helpers/wrap-substitutions');

/**
Expand Down Expand Up @@ -286,7 +286,7 @@ class Personalization {
'Object expected for `dynamicTemplateData` in deepMergeDynamicTemplateData'
);
}
this.dynamicTemplateData = merge(dynamicTemplateData, this.dynamicTemplateData);
this.dynamicTemplateData = deepMerge(dynamicTemplateData, this.dynamicTemplateData);
}

/**
Expand Down

0 comments on commit c914d71

Please sign in to comment.