Skip to content

Commit

Permalink
Dailymotion bid adapter: Verify API key is string
Browse files Browse the repository at this point in the history
Co-authored-by: Rumesh <rumesh@users.noreply.github.com>
  • Loading branch information
kvnsw and rumesh committed Apr 3, 2024
1 parent 898d8bb commit 673f831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dailymotionBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const spec = {
* @return boolean True if this is a valid bid, and false otherwise.
*/
isBidRequestValid: function (bid) {
return (typeof bid.params.apiKey !== 'undefined');
return (typeof bid.params.apiKey === 'string');
},

/**
Expand Down

0 comments on commit 673f831

Please sign in to comment.