Skip to content

Commit

Permalink
Update index.js (#9913)
Browse files Browse the repository at this point in the history
  • Loading branch information
patmmccann authored May 8, 2023
1 parent ce01d89 commit 122f67d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/prebidServerBidAdapter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,7 @@ function queueSync(bidderCodes, gdprConsent, uspConsent, gppConsent, s2sConfig)
}

if (gppConsent) {
// proposing the following formatting, can adjust if needed...
// update - leaving this param as an array, since it's part of a POST payload where the [] characters shouldn't matter too much
payload.gpp_sid = gppConsent.applicableSections
payload.gpp_sid = gppConsent.applicableSections.join();
// should we add check if applicableSections was not equal to -1 (where user was out of scope)?
// this would be similar to what was done above for TCF
payload.gpp = gppConsent.gppString;
Expand Down

0 comments on commit 122f67d

Please sign in to comment.