From 673f831629352f3c3fd35d7db585c9afa535c914 Mon Sep 17 00:00:00 2001 From: Kevin Siow Date: Wed, 3 Apr 2024 19:10:59 +0200 Subject: [PATCH] Dailymotion bid adapter: Verify API key is string Co-authored-by: Rumesh --- modules/dailymotionBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dailymotionBidAdapter.js b/modules/dailymotionBidAdapter.js index e7bdabb37c5..97d019bd5af 100644 --- a/modules/dailymotionBidAdapter.js +++ b/modules/dailymotionBidAdapter.js @@ -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'); }, /**