Skip to content

Commit

Permalink
less duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
tulio-bms committed Dec 5, 2024
1 parent 968b798 commit 8207721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/blueBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export const spec = {
* @return {boolean}
*/
function isValidBidRequest(bid) {
return bid?.params?.publisherId ? true : false;
return bid && bid.params && bid.params.publisherId;
}

/**
Expand Down

0 comments on commit 8207721

Please sign in to comment.