Skip to content

Commit

Permalink
Remove bidder name validation in 'isBidRequestValid' (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
doctafaustus authored Aug 19, 2024
1 parent af21a08 commit d336bae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/nativoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ export const spec = {
*/
isBidRequestValid: function (bid) {
// We don't need any specific parameters to make a bid request
// If not parameters are supplied just verify it's the correct bidder code
if (!bid.params) return bid.bidder === BIDDER_CODE
if (!bid.params) return true

// Check if any supplied parameters are invalid
const hasInvalidParameters = Object.keys(bid.params).some((key) => {
Expand Down

0 comments on commit d336bae

Please sign in to comment.