Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jsadwith committed Mar 2, 2023
1 parent 83213d6 commit f703768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/kargoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ function buildRequests(validBidRequests, bidderRequest) {
krakenParams.cur = currency;
}

if(metadata.rawCRB != null) {
if (metadata.rawCRB != null) {
krakenParams.rawCRB = metadata.rawCRB
}

if(metadata.rawCRBLocalStorage != null) {
if (metadata.rawCRBLocalStorage != null) {
krakenParams.rawCRBLocalStorage = metadata.rawCRBLocalStorage
}

Expand Down Expand Up @@ -237,7 +237,7 @@ function getUserSyncs(syncOptions, responses, gdprConsent, usPrivacy, gppConsent
var gdpr = (gdprConsent && gdprConsent.gdprApplies) ? 1 : 0;
var gdprConsentString = (gdprConsent && gdprConsent.consentString) ? gdprConsent.consentString : '';
var gppString = (gppConsent && gppConsent.consentString) ? gppConsent.consentString : '';
var gppApplicableSections = (gppConsent && gppConsent.applicableSections && Array.isArray(gppConsent.applicableSections)) ? gppConsent.applicableSections.join(",") : '';
var gppApplicableSections = (gppConsent && gppConsent.applicableSections && Array.isArray(gppConsent.applicableSections)) ? gppConsent.applicableSections.join(',') : '';

// don't sync if opted out via usPrivacy
if (typeof usPrivacy == 'string' && usPrivacy.length == 4 && usPrivacy[0] == 1 && usPrivacy[2] == 'Y') {
Expand Down

0 comments on commit f703768

Please sign in to comment.