-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Rubicon Bid Adapter: remove fpd warning #8688
Conversation
@@ -1026,8 +1026,6 @@ function applyFPD(bidRequest, mediaType, data) { | |||
}, []); | |||
if (segments.length > 0) return segments.toString(); | |||
}).toString(); | |||
} else if (typeof prop === 'object' && !Array.isArray(prop)) { | |||
logWarn('Rubicon: Filtered FPD key: ', key, ': Expected value to be string, integer, or an array of strings/ints'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removing this means that execution will now end up in the else if
below, and if I'm reading this right, will end up returning prop.toString()
when it did not before. What are the repercussions of this? Should keep the above else if
and just return nothing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @harpere , check this now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* remove fpd warning * return undefined instead of skipping the if Co-authored-by: Michele Nasti <[email protected]>
* remove fpd warning * return undefined instead of skipping the if Co-authored-by: Michele Nasti <[email protected]>
* remove fpd warning * return undefined instead of skipping the if Co-authored-by: Michele Nasti <[email protected]>
* remove fpd warning * return undefined instead of skipping the if Co-authored-by: Michele Nasti <[email protected]>
Type of change
Description of change
Remove an unuseful logging.