Skip to content

Commit

Permalink
Fix typo (prebid#3986)
Browse files Browse the repository at this point in the history
* Add Adman bid adapter

* Add supportedMediaTypes property

* Update ADman Media bidder adapter

* Remove console.log

* Fix typo

* revert package-json.lock

* Delete package-lock.json

* back to original package-lock.json
  • Loading branch information
admanmedia authored and sa1omon committed Nov 28, 2019
1 parent e5e36f7 commit 9ddf915
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/admanBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const spec = {
const ENDPOINT_URL = '//bidtor.admanmedia.com/prebid';
const bids = validBidRequests.map(buildRequestObject);
const payload = {
referrer: utils.getTopWindowUrl(),
referer: utils.getTopWindowUrl(),
bids,
deviceWidth: screen.width
};
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/admanBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe('admanBidAdapter', function() {
expect(payload.gdpr).to.exist;

expect(payload.bids).to.exist.and.to.be.an('array').and.to.have.lengthOf(1);
expect(payload.referrer).to.exist;
expect(payload.referer).to.exist;

const bid = payload.bids[0];
expect(bid).to.exist;
Expand Down

0 comments on commit 9ddf915

Please sign in to comment.