diff --git a/modules/adagioBidAdapter.js b/modules/adagioBidAdapter.js index 264cf5f9fcb..b000772f214 100644 --- a/modules/adagioBidAdapter.js +++ b/modules/adagioBidAdapter.js @@ -308,7 +308,7 @@ function getElementFromTopWindow(element, currentWindow) { function autoDetectAdUnitElementIdFromGpt(adUnitCode) { const autoDetectedAdUnit = getGptSlotInfoForAdUnitCode(adUnitCode); - if (autoDetectedAdUnit && autoDetectedAdUnit.divId) { + if (autoDetectedAdUnit.divId) { return autoDetectedAdUnit.divId; } }; diff --git a/modules/gumgumBidAdapter.js b/modules/gumgumBidAdapter.js index d22fb1d7bdc..697fd8c6103 100644 --- a/modules/gumgumBidAdapter.js +++ b/modules/gumgumBidAdapter.js @@ -296,8 +296,8 @@ function buildRequests(validBidRequests, bidderRequest) { let gpid = ''; const date = new Date(); - const lt = date && date.getTime(); - const to = date && date.getTimezoneOffset(); + const lt = date.getTime(); + const to = date.getTimezoneOffset(); if (to) { lt && (data.lt = lt); data.to = to;