Skip to content

Commit

Permalink
Yieldlab Bid Adapter: fix for utils root no longer (prebid#7568)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHuie authored and Chris Pabst committed Jan 10, 2022
1 parent e5949c6 commit b50bff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/yieldlabBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,13 +268,13 @@ function createSchainString (schain) {
* @returns {Object}
*/
function getContentObject(bid) {
if (bid.params.iabContent && utils.isPlainObject(bid.params.iabContent)) {
if (bid.params.iabContent && isPlainObject(bid.params.iabContent)) {
return bid.params.iabContent
}

const globalContent = config.getConfig('ortb2.site') ? config.getConfig('ortb2.site.content')
: config.getConfig('ortb2.app.content')
if (globalContent && utils.isPlainObject(globalContent)) {
if (globalContent && isPlainObject(globalContent)) {
return globalContent
}
return undefined
Expand Down

0 comments on commit b50bff0

Please sign in to comment.