Skip to content

Commit

Permalink
Rubicon. bugfix for singleRequest config regression (#9050)
Browse files Browse the repository at this point in the history
* fix rubicon singleRequest config regression #9049

* manually kick off testing

Co-authored-by: Chris Huie <phoenixtechnerd@gmail.com>
  • Loading branch information
elad-yosifon and ChrisHuie authored Sep 29, 2022
1 parent 28f02fa commit f32e080
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export const spec = {
}
});

if (rubiConf.singleRequest !== true) {
if (config.getConfig('rubicon.singleRequest') !== true) {
// bids are not grouped if single request mode is not enabled
requests = videoRequests.concat(bidRequests.filter(bidRequest => bidType(bidRequest) === 'banner').map(bidRequest => {
const bidParams = spec.createSlotParams(bidRequest, bidderRequest);
Expand Down Expand Up @@ -1279,8 +1279,7 @@ export function hasValidSupplyChainParams(schain) {
}

/**
* Creates a URL key value param, encoding the
* param unless the key is schain
* Creates a URL key value param, encoding the param unless the key is schain
* @param {String} key
* @param {String} param
* @returns {String}
Expand Down

0 comments on commit f32e080

Please sign in to comment.