From 96b94cc67130b77d5ce440079cd97714fef635fd Mon Sep 17 00:00:00 2001 From: Michael Griego Date: Tue, 18 Aug 2020 18:30:14 -0500 Subject: [PATCH] Allow hp:0 in supply chain nodes passed to Rubicon --- modules/rubiconBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rubiconBidAdapter.js b/modules/rubiconBidAdapter.js index 47ca694dc43..20812291273 100644 --- a/modules/rubiconBidAdapter.js +++ b/modules/rubiconBidAdapter.js @@ -1166,7 +1166,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;