Skip to content

Commit

Permalink
fix bidderRequest reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sticky committed Jun 14, 2018
1 parent 0238d92 commit 2a18f58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/freewheelSSPBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ export const spec = {
if (bidderRequest.gdprConsent) {
requestParams._fw_gdpr_consent = bidderRequest.gdprConsent.consentString;

if (typeof currentBidRequest.gdprConsent.gdprApplies === 'boolean') {
requestParams._fw_gdpr = currentBidRequest.gdprConsent.gdprApplies;
if (typeof bidderRequest.gdprConsent.gdprApplies === 'boolean') {
requestParams._fw_gdpr = bidderRequest.gdprConsent.gdprApplies;
}
}

Expand Down

0 comments on commit 2a18f58

Please sign in to comment.