Skip to content

Commit

Permalink
feat: implement review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsaplin committed Apr 12, 2024
1 parent db99cd5 commit 074e463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solutions/scripts/onetrust.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ function waitForOneTrustAndInitialize() {

export default function loadOneTrust(domainID) {
// eslint-disable-next-line no-console
console.log(`Loading OneTrust with ID: ${domainID}`);
console.debug(`Loading OneTrust with ID: ${domainID}`);
const attrs = {
'data-domain-script': `${domainID}`,
'data-layer-name': 'adobeDataLayer',
};
loadScript('/solutions/vendor/onetrust/consent/2e112ba7-dfdc-491a-8b9a-c862b3140402/otSDKStub.js', {
loadScript(`/solutions/vendor/onetrust/consent/${domainID}/otSDKStub.js`, {
type: 'text/javascript',
charset: 'UTF-8',
...attrs,
Expand Down

0 comments on commit 074e463

Please sign in to comment.