Skip to content

Commit

Permalink
Fixing kinesso endpoint query param (#7748)
Browse files Browse the repository at this point in the history
Co-authored-by: skocheri <skocheri@rubiconproject.com>
  • Loading branch information
SKOCHERI and skocheri authored Dec 3, 2021
1 parent e068bab commit ac9da94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kinessoIdSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function kinessoSyncUrl(accountId, consentData) {
const usPrivacyString = uspDataHandler.getConsentData();
let kinessoSyncUrl = `${ID_SVC}?accountid=${accountId}`;
if (usPrivacyString) {
kinessoSyncUrl = `${kinessoSyncUrl}?us_privacy=${usPrivacyString}`;
kinessoSyncUrl = `${kinessoSyncUrl}&us_privacy=${usPrivacyString}`;
}
if (!consentData || typeof consentData.gdprApplies !== 'boolean' || !consentData.gdprApplies) return kinessoSyncUrl;

Expand Down

0 comments on commit ac9da94

Please sign in to comment.