Skip to content

Commit bbf4db6

Browse files
committed
fix
1 parent a380982 commit bbf4db6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

dist/privacy.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,11 @@ let sync_metrics = {
388388
* IAB: Data Deletion Request Framework
389389
* https://github.com/InteractiveAdvertisingBureau/Data-Subject-Rights/blob/main/Data%20Deletion%20Request%20Framework.md
390390
*/
391-
let iab_ddr = await fetchAndParse("/dsrdelete.json", parseDSRdelete);
391+
let iab_ddr = fetchAndParse("/dsrdelete.json", parseDSRdelete);
392392

393-
return JSON.stringify({
394-
...sync_metrics,
395-
...{ iab_ddr: iab_ddr }
393+
return Promise.all([iab_ddr]).then(([iab_ddr]) => {
394+
return JSON.stringify({
395+
...sync_metrics,
396+
...{ iab_ddr: iab_ddr }
397+
});
396398
});

0 commit comments

Comments
 (0)