Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow hp:0 in supply chain nodes passed to Rubicon #5629

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

mgriego
Copy link
Contributor

@mgriego mgriego commented Aug 18, 2020

Type of change

  • Bugfix

Description of change

Rubicon adapter does not pass a supply chain object of hp is set to 0.

@@ -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));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for catching!

@robertrmartinez robertrmartinez self-assigned this Aug 19, 2020
@robertrmartinez robertrmartinez merged commit 1a38f40 into prebid:master Aug 20, 2020
@mgriego mgriego deleted the patch-1 branch August 26, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants