Skip to content

Commit

Permalink
datablocksBidAdapter.js: fix syncs issue
Browse files Browse the repository at this point in the history
fixes #11319
  • Loading branch information
patmmccann committed Jun 4, 2024
1 parent 1258c53 commit c2e58f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/datablocksBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ export const spec = {
// INITIATE USER SYNCING
getUserSyncs: function(options, rtbResponse, gdprConsent) {
const syncs = [];
let bidResponse = rtbResponse[0].body;
let bidResponse = rtbResponse?.[0]?.body ?? null;
let scope = this;

// LISTEN FOR SYNC DATA FROM IFRAME TYPE SYNC
Expand Down

0 comments on commit c2e58f6

Please sign in to comment.