From 2a18f585270afe2b85a243b30f53ab9722c82d3d Mon Sep 17 00:00:00 2001 From: guillaume-sticky Date: Thu, 14 Jun 2018 15:07:53 +0200 Subject: [PATCH] fix bidderRequest reference. --- modules/freewheelSSPBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/freewheelSSPBidAdapter.js b/modules/freewheelSSPBidAdapter.js index 604beaaf539..d56e7d4998e 100644 --- a/modules/freewheelSSPBidAdapter.js +++ b/modules/freewheelSSPBidAdapter.js @@ -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; } }