Skip to content

Commit

Permalink
Updated the code
Browse files Browse the repository at this point in the history
  • Loading branch information
davenichols-DHLS committed Aug 12, 2024
1 parent 2352e8f commit 4ff6911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/onetrust-ccpa/onetrust-ccpa.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function decorate(block) {
const initializeOneTrust = async () => {
await OneTrust.NoticeApi.Initialized.then(async () => { // eslint-disable-line
await OneTrust.NoticeApi.LoadNotices([ // eslint-disable-line
'https://privacyportalde-cdn.onetrust.com/c579c0d0-360f-49c0-bccc-f7b7cded31cd/privacy-notices/0e664032-8cf4-4719-94d8-fdd9685743b5.json',
'https://privacyportalde-cdn.onetrust.com/c579c0d0-360f-49c0-bccc-f7b7cded31cd/privacy-notices/draft/0e664032-8cf4-4719-94d8-fdd9685743b5.json',
], false);
}).catch((error) => {
console.error("Error initializing OneTrust: ", error); // eslint-disable-line
Expand Down

0 comments on commit 4ff6911

Please sign in to comment.