Skip to content

Commit

Permalink
wrap in if statement (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangan07 authored Jul 11, 2023
1 parent 97840d6 commit a901875
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/kargoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,12 @@ function buildRequests(validBidRequests, bidderRequest) {
},
imp: impressions,
user: getUserIds(tdidAdapter, bidderRequest.uspConsent, bidderRequest.gdprConsent, firstBidRequest.userIdAsEids, bidderRequest.gppConsent),
schain: firstBidRequest.schain,
});

if (firstBidRequest.schain && firstBidRequest.schain.nodes) {
krakenParams.schain = firstBidRequest.schain
}

const reqCount = getRequestCount()
if (reqCount != null) {
krakenParams.requestCount = reqCount;
Expand Down

0 comments on commit a901875

Please sign in to comment.