Skip to content

Commit

Permalink
datablocksBidAdapter.js: fix syncs issue (prebid#11684)
Browse files Browse the repository at this point in the history
  • Loading branch information
patmmccann authored Jun 5, 2024
1 parent 47e6561 commit e802e21
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 e802e21

Please sign in to comment.