Skip to content

Commit

Permalink
Fix typo in mediaforce bid adapter (#6181)
Browse files Browse the repository at this point in the history
* add mediaforce bid adapter

* make use of unused variable language

* Added native support for Mediaforce Bid Adapter

* Fix test endpoint url for Mediaforce Bid Adapter

* cleanup

* Added the ability to send multiple bids in one ad request for mediaforce bid adapter

* Fixes after review for mediaforce bid adapter

* Fix typo in mediaforce bid adapter

Co-authored-by: ksanksana <little.grey.goblin@gmail.com>
  • Loading branch information
Niksok and ksanksana authored Jan 13, 2021
1 parent 4a56c67 commit 19a0d72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mediaforceBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const spec = {
let impObj = {
id: bid.bidId,
tagid: tagid,
secure: window.location.protocol === 'https' ? 1 : 0,
secure: window.location.protocol === 'https:' ? 1 : 0,
bidfloor: bidfloor,
ext: {
mediaforce: {
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/mediaforceBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('mediaforce bid adapter', function () {

const requestUrl = `${baseUrl}/header_bid`;
const dnt = utils.getDNT() ? 1 : 0;
const secure = window.location.protocol === 'https' ? 1 : 0;
const secure = window.location.protocol === 'https:' ? 1 : 0;
const pageUrl = window.location.href;
const timeout = 1500;

Expand Down

0 comments on commit 19a0d72

Please sign in to comment.