Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #3986

Merged
merged 11 commits into from
Jul 15, 2019
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