Skip to content

Commit

Permalink
convert bidders: inmar
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed May 20, 2022
1 parent 1105c2a commit 93d6a47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modules/inmarBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export const spec = {
bidRequests: validBidRequests,
auctionStart: bidderRequest.auctionStart,
timeout: bidderRequest.timeout,
refererInfo: bidderRequest.refererInfo,
// TODO: please do not send internal data structures over the network
refererInfo: bidderRequest.refererInfo.legacy,
start: bidderRequest.start,
gdprConsent: bidderRequest.gdprConsent,
uspConsent: bidderRequest.uspConsent,
Expand Down
6 changes: 4 additions & 2 deletions test/spec/modules/inmarBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ describe('Inmar adapter tests', function () {
gdprApplies: true
},
refererInfo: {
referer: 'https://domain.com',
numIframes: 0
legacy: {
referer: 'https://domain.com',
numIframes: 0
}
}
});

Expand Down

0 comments on commit 93d6a47

Please sign in to comment.