Skip to content

Commit

Permalink
Kinesso fixing the endpoint construction (prebid#7743)
Browse files Browse the repository at this point in the history
Co-authored-by: skocheri <skocheri@rubiconproject.com>
  • Loading branch information
2 people authored and Chris Pabst committed Jan 10, 2022
1 parent 0855170 commit 5ab85d0
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 5ab85d0

Please sign in to comment.