Skip to content

Commit

Permalink
fix spelling of 'country' (#3679)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Schreiber authored and jsnellbaker committed Mar 26, 2019
1 parent b9fb264 commit 12882f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/etargetBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ export const spec = {
var i, l, bid, reqParams, netRevenue, gdprObject;
var request = [];
var bids = JSON.parse(JSON.stringify(validBidRequests));
var lastContry = 'sk';
var lastCountry = 'sk';
for (i = 0, l = bids.length; i < l; i++) {
bid = bids[i];
if (countryMap[bid.params.country]) {
lastContry = countryMap[bid.params.country];
lastCountry = countryMap[bid.params.country];
}
reqParams = bid.params;
reqParams.transactionId = bid.transactionId;
request.push(formRequestUrl(reqParams));
}

request.unshift('//' + lastContry + '.search.etargetnet.com/hb/?hbget=1');
request.unshift('//' + lastCountry + '.search.etargetnet.com/hb/?hbget=1');
netRevenue = 'net';

if (bidderRequest && bidderRequest.gdprConsent && bidderRequest.gdprConsent.gdprApplies) {
Expand Down

0 comments on commit 12882f9

Please sign in to comment.