Skip to content

Commit

Permalink
Allow hp:0 in supply chain nodes passed to Rubicon (#5629)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgriego authored Aug 20, 2020
1 parent 2c0ea15 commit 1a38f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ export function hasValidSupplyChainParams(schain) {
if (!schain.nodes) return isValid;
isValid = schain.nodes.reduce((status, node) => {
if (!status) return status;
return requiredFields.every(field => node[field]);
return requiredFields.every(field => node.hasOwnProperty(field));
}, true);
if (!isValid) utils.logError('Rubicon: required schain params missing');
return isValid;
Expand Down

0 comments on commit 1a38f40

Please sign in to comment.